Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase reset password issue for users with social media authentication

I am trying to reset password for Firebase in iOS for a user who has email authentication as well as Facebook and Twitter authentication in Firebase.

The password is reset successfully and the user ID is the same, but the user's Facebook and Twitter authentication is removed (see below). How do I reset password in Firebase without removing social media authentication?

User authentication with social media linking before password reset

enter image description here

User authentication with social media unlinked after password reset

enter image description here

This issue also occur on Android

like image 318
Joyce Sin Avatar asked Jun 22 '17 10:06

Joyce Sin


People also ask

How do I beat Firebase authentication?

If you haven't yet connected your app to your Firebase project, do so from the Firebase console. Enable Email/Password sign-in: In the Firebase console, open the Auth section. On the Sign in method tab, enable the Email/password sign-in method and click Save.

Does Firebase handle authentication?

Firebase Authentication provides backend services, easy-to-use SDKs, and ready-made UI libraries to authenticate users to your app. It supports authentication using passwords, phone numbers, popular federated identity providers like Google, Facebook and Twitter, and more.


1 Answers

The following reply from a Googler seems to indicate that the unlinking is an intended consequence of the password reset to allow the user to recover their account in the case it was hijacked and modified by another user: https://stackoverflow.com/a/44694017/1171539

like image 161
Josh Lyon Avatar answered Oct 27 '22 00:10

Josh Lyon