Hey everyone!
I want my users to Login to the app using mobile number and by entering One time password (4 digit code) which is sent to their mobile number.
On the Sign up page, user will enter email, phone number and password to signup. But later if they want to use phone number to login, they should be able to do it.
Which means, User already has an account with an email. But later if they forgot the password, and for ease of logging in, they should be able to sign in by entering the phone number, which should send a 4 digit code to their mobile number and entering the code should log them in.
What would be the ideal and most secure way to do this?
Thanks in advance.
Best Regards,
Lalith Pavan