firebase - Lose password after sign in using Google provider -
i have android app use firebase authentication using email , password. added google provider users can sign in wih google account, problem following
there's existing user example@gmail.com
registered on app, later user sign in google account firebase automatically change provider of account email google, problem user sign out , try login email/password , got message
the password invalid or user not have password
i understand why happens, users (you know users) frustrated because can't login email/password
there's way tell firebase keep user password or when user login google , convertion happens in order notify user
note app allow 1 account per email
i found there's method fetchprovidersforemail asume can build flow on method check provider have user , allow user chose if want keep if old password asking , linking account or continue
Comments
Post a Comment