How to sign in with phone number + otp after verification
I want to do sign up + sign in with phone number + otp
Ive implemented phone number verification and all went smooth, but I want to use the same flow (phone number + otp) to sign in the user again after session expires.
The method
signin.phoneNumber
requires password but I want my auth to be passwordless3 Replies
you can use verify again. If the user is already registed, it'll just sign in them in.
how to check if the users is already registered?
im doing a workaround right now because I setup the profile of the user. if the name is temp (the phone number) then I go to setup profile screen otherwise I log the user.
but I don't think this is a good approach 😅
I'll see if we can provide a better flag for new users