-
-
Notifications
You must be signed in to change notification settings - Fork 877
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
google signin not prompting for credentials after original prompt #675
Comments
I am also having the same problem, Have you found any solution? |
@bsdAdventures @Aksh0377 I just integrated google sign in and noticed the same thing. @bsdAdventures you closed this without followup, did you learn anything you can share? |
@mikehardy this library unfortunately only supports one logged in user, see #200 |
I had not seen that, thanks very much for the pointer. I'll follow along there if this becomes a requirement for me |
Even though it only supports one user, what if I want to completely log out of one user and then into another? It seems like I can only have one, even after signOut and RevokeAccess have been called? |
When i log in with google for the first time on the app it prompts me to enter the email then password and it returns a token and it shows up in firebase console, but after i kill the app and lets say i wanna use a different email, it doesnt show the prompt to choose previous account or enter a new one, it automatically uses the old credentials i used before. This behaviors is on android and ios. If i delete the app from ios or android the prompt comes back for the initial sigin in but after that it doesnt show up anymore.
ran npm react-native google-singin
real-native link react-native google-singin
added necesaary files etc
built projects on ios and android
attempted to login
prompt showed up and i entered email information
killed app and removed authentication from firebase
attempted to login
instantly authenticated with previous information without a prompt
i am using the example from https://rnfirebase.io/docs/v5.x.x/auth/social-auth
App.js
Include a gif if you think it may help.
If you're asking for help, please make it easy for us to help you!
Expected Behavior
i thought it would prompt me to enter new credential or select old one
Actual Behavior
created authentication without prompting for email or password
Environment
Please provide the version of your
"react-native-google-signin": "^2.0.0",
play-services-auth
and version of the Google Play Services app on your phone (if applicable)package.json
react-native info
The text was updated successfully, but these errors were encountered: