React Native
Email and SMS verification
The dynamic client authentication module enables user authentication via email or SMS.
Notice that email and SMS login methods must be respectively enabled in your environment’s dashboard settings first!
Sending and verifying OTPs
The methods below can be used to send/resend and verify one time passwords
Example
The example below demonstrates a React component that can send, resend and verify OTPs through email.
You can follow the same pattern for phone numbers but collect phone number, iso2 and dial code instead of email address.
You can read more about these modules here.
Was this page helpful?