How can i add phone auth to an existing user with Convex Auth
I have a user who's signed up and I want to enable them the ability to also sign in with their phone number.
Most of the documentation shows showing either logging in with phone or with email but not both.
It seems like there is a shouldLinkViaPhone and shouldLinkViaEmail in the createAccount function but i'm not sure how to implement it.
Also is there a way to store the phone number without verifying it? Say we only want to verify (with phone) our Users in the US rather than all of them. At first glance, it seems like i'd have to create a separate user_profile table but i wonder if there's a way to do this directly in the existing auth tables.
cc @sshader
0 Replies