How to implement OTP generation?

0
I want to implement OTP generation in my app, where  it allows users to register/sign up by entering their details such as phone number, email address etc. After clicking on the register button the should receive an OTP to his entered mobile number when he was registering. The received OTP should be authenticated. for this as per previous forum answers i have downloaded 2 factor authentication module from marketplace, but i dont know how to use it. can anyone help me with step by step process or can anyone show me microflow?
asked
1 answers
0

Hi Zia,

I’ve achieved this requirement by using Twilio Module.
Marketplace Link: https://marketplace.mendix.com/link/component/109621 

Step1: Configuration 

  1. First you need a Twilio developer account. get signup for a account. https://www.twilio.com/ 
  2. create the the trial account
  3. Get the mobile number
     

 

Step 2: Connect and Configure the overview page, named “Credential_Overview” in twilio module. 

Step 3. Creating sms parameter object and OTP generation, connecting the microflow from Twilio module named “Send SMS” 

 

Step 4: Authentication Page

Step 5: Validation

 

Thanks & Regards
Dinesh Gunasekaran.

answered