Silly
March 4, 2024, 3:53pm
1
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.
TIMAI2
March 4, 2024, 4:07pm
2
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)
Silly
March 4, 2024, 4:10pm
3
How can I do this? I'm quite new here in MIT app and still don't know a lot of things
TIMAI2
March 4, 2024, 4:13pm
4
For phone:
There have been several requests for this in the past year, but I have not seen a solution. Here, then, is one method to allow a user to sign in to Firebase (or if you want, to just authenticate their phone number).
The method uses an html page and javascript, which allows for the use of a recaptcha in order to generate the verification code and send an SMS. I understand that Firebase allows for 10,000 free SMS per month (needs confirming under current requirements)
I found the solution on med…
For email:
https://firebase.google.com/docs/auth/web/email-link-auth
2 Likes
system
Closed
March 11, 2024, 4:13pm
5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.