Send OTP to Email or password

Hello everyone. I'm creating a signup form where users input their email or phone number. After entering this information, they will click the OTP button to receive a verification code via email or SMS. Only after entering the OTP code can they proceed to create their account. Just wondering if there's a way to do it.

You can use Firebase Authentication for both of these. (if email used then an email is sent, if phone used then an sms is sent)

How can I do this? I'm quite new here in MIT app and still don't know a lot of things

For phone:

For email:

https://firebase.google.com/docs/auth/web/email-link-auth

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.