I am creating Reactive Web App. In which, I want to do Login screen verification of Mobile Number send With OTP. Please Someone explain to me about it by an example/OML File
Thankyou
Hello, @Priya Jhode
This is post-OTP generation to help you,
Thanks
can you please make a functionality and share oml file,
thanks @Vaishali Bhatt
Hi Priya,
You can use this component to send OTP to mobile number.
To create a login screen with OTP verification for a mobile number in a Reactive Web App in OutSystems,
Create a Screen for Mobile Number Input: This screen will allow the user to enter their mobile number and request an OTP.
Generate and Send OTP: Implement logic to generate a random OTP and send it to the user's mobile number. This usually involves integrating with an SMS gateway service.
Create a Screen for OTP Input: This screen will allow the user to enter the OTP they received.
Verify OTP: Implement logic to verify the entered OTP against the generated OTP.
Step 1: Create a Screen for Mobile Number Input
Step 2: Generate and Send OTP
Step 3: Create a Screen for OTP Input
Step 4: Verify OTP
Hi @Priya jhode
1.For Verification of Mobile Number with OTP,You need to create Twilio Account.
https://console.twilio.com/
2.And You will Get API and Authentication Tokens.
3.You need to createREST API in your module and Authenticate using your generated token.
4.You will get reponse.
5.You can use your response in your server action.
For more Further details..I will upload OML..Once it is completed.
Best Regards,
Karnika.K
okk..please share oml
Thank you @Karnika-EONE
Hi Priya ,
Please see ForgetPassword screen in the attached oml in that i have used verification of OTP
Thankyou @Garima Sharma
Hi @Priya Jhode
1.First You need to create Twilio Account : https://console.twilio.com/.
2.After creating Account You will find these credentails in twiliio dashboard.You need to save this informations.
3.That Twilio Number is a virtual number (i.e.from number) as this is trial account.
4.Postman link:having API of twilio
5.EndPOint:
https://api.twilio.com/2010-04-01/Accounts/AC1d9eefab8eac37c0e63f7a9620e83d63/Messages.json
6.Authentication:usename:AcountSID
Password:Auth Token.
7.You need to Pass TO and From And Body to that API.
7.After getting response.You will get OTP,
8.After that You can customize the login logic.(I have attached the logics in the OML).
Karnika.K.
thankyou @Karnika-EONE
@Karnika-EONE I Reviewed your Oml, but its not working the way you did.