Skip to content

Make all users to have a verified phone number, even though phone number is not primary sign in method #1929

@danijorda1

Description

@danijorda1

I sometimes build apps (like for shipping, customer relations, maintaining people's profiles, ...), that need to have the phone number of signed-in users, and I want to use Firebase's Phone Number Authentication method to be sure that the phone number filled by signed-in users are really theirs (that is they have verified it).

Please note that I don't intend using phone number verification to be signing-in users to the apps. The users could sign in with email, or any other provider. The phone number verification could come in if the user signs-in for the first time on the app, or if they want to update their phone number. And as Firebase Authentication maintains phone number verification as a sign-in method and not as some extra feature, the best solution will be to call linkWithPhone to a newly signed-in user or to a user that lacks a phone number and to call updatePhone when the user wants to change their phone number.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions