- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 889
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android: Error: Login action cancelled after first sign-in #1088
Comments
same problem as me. I took a log and the id token returned as null and an error popped up |
Same problem here (I guess). This is my code, am I missing something?
|
I just checked Sentry and seems like this issue is happening right after upgrading to Expo SDK 47 |
I just realized I forgot to add |
@KMarkovskiy @seora could you also check if you forget that line and see if that fixes the error |
Hey @BrodaNoel thanks for reporting. I am seeing the same issue, is there a way to solve the cancelled login issue? |
same problem |
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
@andrisole92 thanks for your comment; However your issue appears to be different from the original one. If the issue is critical to you and you need extra help, you can hire me - contact information is in my profile. edit: I have hidden the user's comments because he has made repeated false claims for which he provided no proof for. Instead of engaging in a productive discussion and providing a reproducible example to provided basis for his accusations, he depicted the package in bad light. |
This comment was marked as abuse.
This comment was marked as abuse.
This is not an official library. This is not inside Google account. |
Hi @andrisole92 , Secondly, as was already correctly noted, there's no "official" Google sign in open source package for react native or for Android, for that matter. As for your feeling, I'm sorry that you feel that way but allow me to explain - the reason why the "premium" package exists is to fund the maintenance of the resources in this organization. That includes both the private and public repositories, documentation and even contributions outside of this organization (AppAuth for iOS, Google Sign In SDK for iOS). I have spent a lot of my free time on making these, and sponsors make the efforts sustainable. Lastly, you don't "have to" pay for anything, and if you have a problem, you're in a great position to fix it. Thank you 🙂 |
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
hello again,
I'm sorry you feel that way. It seems what you're saying is that I either introduced a major bug, or knowingly keep one in the OSS code - and I want to deny that. There are differences in functionality between the "original google sign in" module for sponsors and the free one but they are very minor. What you're getting for sponsoring is new architecture support and one tap sign in, which is a very different implementation from the "original sign in".
I trust your word that you're running into an issue. Do I trust that it's because of this package? Well, I'd be repeating myself here so I'll refer to my above comment(s). Here's a video of the OSS Google sign in, in an app that's built with SVID_20240320_092959_1.mp4Please don't invite me to your testing groups and etc. If I am to do anything about your issue, I need https://stackoverflow.com/help/minimal-reproducible-example There's nothing more to add from my side, thank you for your comments. :) |
Did added the plugin to the app.json worked for you? |
It fixed some of the issues I had. Yes. You always have to add the plugin if it's there. It's a required thing |
In my case It was something i wasn't aware. I did everything according to the docs. I am using expo and since i am using default credentials from expo and i already have google play console connected I had to add the upload credential from play store as well to firebase sha1. Hope this helps someone. |
@vonovak you really have nothing to be sorry about bro. Anyways, if anyone is still getting this type "cancelled" returning on sign in:
|
Hello 👋 , With that, I'm closing it, |
When creating a new user using the Google platform identity (https://admin.google.com), the first time I sign in to the app in android(for iOS works fine), I get Error: Login action cancelled. When creating a new user in the normal interface, the user sounds like this.
When you sign-in again, the problem is also not observed.
This is an example using what I am trying to do. Google wing in will be used to enter firebase, but the error falls before it reaches the firebase function.
Expected results
Error: Login action cancelled
Actual Behavior
Success sign-in
Environment
The text was updated successfully, but these errors were encountered: