Firebase reset password using provider accounts

前端 未结 1 1616
一个人的身影
一个人的身影 2021-01-28 15:31

I am using firebase for a little while and I find a little issue I think it\'s not a big issue, that issue is that when I login with provider account like: \"facebook\" account

相关标签:
1条回答
  • 2021-01-28 16:17

    If you need an API to check what type of provider is associated with an email, you can use fetchProvidersForEmail. https://firebase.google.com/docs/reference/android/com/google/firebase/auth/FirebaseAuth.html#fetchProvidersForEmail(java.lang.String)

    As for resetting the password of an account that had a Facebook provider linked to it, it will unlink that Facebook account and transform it into a password account. The user will need to re-link the Facebook provider. This behavior allows the user to recover an account in case it was hijacked and modified by another unverified user.

    0 讨论(0)
提交回复
热议问题