I have a requirement in my web application, that I need to register a user with their phone number instead of email and password.
The system should take the input of the user's phone number and send an OTP SMS to that phone number. If the OTP matches, I need to create user.
I tried 2FA with asp.net identity, but it works only when the user is already registered and the phone number is updated in the user table.
Can someone kindly help me.
Thanks in Advance.
Tarak