Firebase Auth incorrect Error after Google Signin -


if create test user using gmail email , password on firebase auth using signinwithemailandpassword. , on next visit sign in using google sign in same gmail email using signinwithpopup(provider). on next visit try sign in same email using signinwithemailandpassword error code

password incorrect

shouldn't correct error code handles case email linked google provider can prompt user sign in google instead of trying input email , password. or trying reset password.

if create email/password user , sign in google user, google account overwrite email/password account (assuming not verified). security reasons, can create unverified email/password account, possibly claiming user's email. firebase overwrites signin google account

if want link google account email account, can first sign in user google , currentuser.updatepassword add password. next user can sign in google or email/password.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -