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

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -