Direct Identifiers
Username
Using username as an identifier, provide a customizable identifier that can be linked to either email or phone verification.
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 Username section
Autentication Strategies
If you turn on username identifier, you can use the following combinations as an extra authentication steps:
Identifier | Auth Strategies | Contact Informations Needed | Note |
---|---|---|---|
Username | Password | - | - |
Email OTP | Verify on Signup available | ||
SMS OTP | Phone number | Verify on Signup available | |
WhatsApp OTP | Phone number | Verify on Signup available |
Username Auth: Scenario
Scenario 1
- User signup by supplying their username and password
- If verification successful, user succesfully created.
- On signin, user can input
Scenario 2
- User signup by supplying their username, password, and email address.
- If
Verify on Signup=ON
, an OTP code will be sent to the email address. And if verification successful, user succesfully created. - On signin, user can choose to user their password or use OTP sent via email to authenticate.
Additional Notes
- Usernames must be unique within an environment
- Phone number formatted using E.164-compatible format and email address are case-insensitive.
- SMS, WhatsApp, and email verification codes have a maximum retry limit (see rate limits to learn more)
Last updated on