Skip to content
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

When Sign-in flow cancelled, I cannot sign-in again. #247

Open
berkaytndgn opened this issue Jan 7, 2024 · 0 comments
Open

When Sign-in flow cancelled, I cannot sign-in again. #247

berkaytndgn opened this issue Jan 7, 2024 · 0 comments

Comments

@berkaytndgn
Copy link

Hello, I am trying to implement Google Sign-In with Firebase in my Android game. So far so good nothing happens till the authentication and I can sign in. When I click the login button the native popup for account selection appears and if I select any account the authentication is successful.
Then links the Firebase anonymous user with a Google account.

But when the user clicks the login button and the native popup for account selection appears then the user clicks outside of the native popup, "which means cancel sign-in flow" I get a 12501 error code which means SIGN_IN_CANCELLED According to this link. Which is expected for sure.

upload_2024-1-7_21-38-56

The problem is, I don't know why but even if I cancelled the sign-in flow, it still authenticates me as an empty user like the picture below.

upload_2024-1-7_21-43-10

After canceling the sign-in flow if I click sign again since I am already logged in with an empty user, it bypasses the sign-in flow and goes to create credentials for Firebase. Then because it is already an empty user I get this error.

upload_2024-1-7_21-46-46

Does anyone have any information on how to resolve this situation? How do I make it to activate sign-in flow again without skipping every time I press login?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant