OTP login using Mobile Number

-1
User should receive OTP to mobile using Phone Number while login and use the OTP to login into application. I have used twilio to send OTP but it’s like admin sending the OTP to user. but I need automatically generated OTP while user tries to login with his mobile number and that OTP should be used to login. Please share any Ideas. Thanks in advance.
asked
2 answers
1

Take a look at the Multifactor Authentication Module in the Mendix Marketplace.

 

https://marketplace.mendix.com/link/component/116892

This allows two-factor authentication via email, SMS, Google Authenticator, etc.  

Hope this helps and good luck with your implementation!

answered
0

Hey Bharath,

you can use OTP Integration which works by REST APIs. there are several present on web.

(eg. https://authkey.io/otp-service-provider )

What you have to do is, make an annonymous user which have only access to the login page only.

As soon as the annonymous user enters his/her name, the system should retrieve his phone number(if present) and generate an OTP(you can use randomizer or password generator widget) and send it through REST API’s. Now the System which generated the APIs knows the OTP,

we can easily compare the Entered OTP with the Sent OTP.

If both match, we can allow the user to login.

Hope it helps.

answered