I'm using Identity Server 4 and Dotnet Core Identity for authentication service. Authentication service has custom react spa.
I'm trying to get started a authenticate a user using their mobile number. I have a user data (email, password, phone number, etc.) I want this steps;
- User:Key in email and password (done)
- Server:Send sms with code to mobile number (?), i have a sms server
- User:Key-in code from SMS
- Server:Send access token (done)
I developed a project using this example. https://github.com/karpikpl/identity-server4-with-SPA-UI
I have no idea how to integrate two factors, how can I help you? Thank you.