-
Notifications
You must be signed in to change notification settings - Fork 879
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
auth/account-exists-with-different-credential issue #2156
Labels
Comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Steps to reproduce:
-> clear login for my app from my google account, clear login for my app from my facebook account
-> make sure I'm logged out with firebase
-> do a facebook sign in
--> my account is shown as a facebook account in the firebase console
-> sign out
-> do a google sign in
--> my account is now shown as a google account in firebase console, no error
Now, if I do the reverse (start with google then try to use facebook):
-> clear login for my app from my google account, clear login for my app from my facebook account
-> make sure I'm logged out with firebase
-> do a google sign in
--> my account is shown as a google account in the firebase console
-> sign out
-> do a facebook sign in
--> I get error
auth/account-exists-with-different-credential
as expected.I would expect to get the same error in both situations, thus I can provide the user with the option to link the other provider's account. In this situation, if they sign in with facebook first, then sign in with google, then try and sign in with facebook again it will give an error.
https://www.youtube.com/watch?v=DUj6yNXCh0A
The text was updated successfully, but these errors were encountered: