I already have user that register using email and password.
When the user log out, and then login with google that has the same email, the login success with the same userId from Auth, But the email password auth is disappeared (the envelope icon is gone). It's kind of replaced.
My App for SignIn has 3 buttons:
- SignIn with Phone
- SignIn with Email n Password
- SignIn with Google
Let say I have user A that already sign up with : email: awesomeA@gmail.com pass: somepassword
And then the user A is for some reason sign out, then log in again using Google, but with the same email (awesomeA@gmail.com)
In Console Auth, userId A is same as before, but the icon in firebase Auth is only showing google, the icon for email password Auth is gone
NB: Why I use email password as primary auth? Because my app contains payment information. So if the device is being stolen, I want to make it secure using firebase re-authentification system. So as long as the thief doesn't know the password, he cannot use the virtual wallet to buy anything