Direct Identifiers
Phone Number
Using phone number, is suitable if your application heavily relies on the user's phone number data and/or requires the users phone number to be active.
How to configure it?
- If you haven't, setup your account first
- Go to your environment Config sections
- In the left sidebar, choose Direct Identifiers.
- Choose the Phone Number section
Autentication Strategies
If you turn on phone identifier, you can use the following combinations as an extra authentication steps:
Identifier | Auth Strategies | Contact Informations Needed | Note |
---|---|---|---|
Phone number | SMS OTP Code | Phone number | If both SMS & WhatsApp options turned on, during signin/signup, users can pick one they prefer |
WhatsApp OTP Code | Phone number |
Phone number intentionally doesn't support Password
as the authentication
strategy
Phone Auth: Scenario
- User signup by supplying their phone number
- OTP code will be sent to user's phone via SMS or WhatsApp. If verification successful, user succesfully created.
- On signin, user can again pick SMS or WhatsApp OTP and verify just like during signup.
Additional Notes
- Phone number formatted using E.164-compatible format.
- One phone number can only be associated with one user per environment
- SMS and/or WhatsApp verification codes have a maximum retry limit (see rate limits to learn more)
Last updated on