简体   繁体   中英

Can a single user have multiple phone numbers linked to his account in Firebase auth?

This section in Firebase documentation shows how to link a single account to multiple auth providers. For example, a user who signed in with a password can link a Google account and sign in with either method in the future. But it doesn't say anything about linking two emails or two phone numbers to the same account. So, I was asking if it was possible to link multiple credentials of the same auth providers to a single account.

A similar question has been asked previously here , but it has no answers!

Currently, there is no way you can merge two Firebase accounts created with two different phone numbers into a single one.

On the other hand, when it comes to authentication with email and password, by default, you can use one account per email address. This is done to prevent users from creating multiple accounts using the same email address with different authentication providers. However, this can be changed in the Firebase console, in the "Sign-in method" tab, inside the Authentication section.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM