Details
OTPService is a forge component which helps in user authentication via OTP. This application has 2 modules inside “OTP_CS” and “OTP_Utils”. In this the “OTP_CS” has its dependency on “OTP_Utils” and “OTP_Utils” is dependent on SID forge component of “Twilio Connector”.
The logic flow of the above Client action must look like this.
This is a reactive application which has only 2 server actions named “SendEmail” and “SendOTP” which triggers send OTP by Email and OTP by SMS respectively as the name suggest. The module “OTP_CS” has its dependency over this module.
Designed for mobile and reactive web apps, this module helps send, verify, resend or expire OTP. See the complete list of variables below used in this service application.
4 server actions excluding the CRUD actions.
This server action is associated with timer that if any of the OTP whose StatusId is still open after the OTP has been sent for more than 10min, such OTP StatusId must be updated to expired.
All Server actions in OTP_CS.
The OTP demo module has been named as “OTP_DEMO” under “OTP_Service” application. You’ll be able to see an example of how the current version of the “OTP_CS” can be implemented in an app that allows you to verify credentials of the user variables, send OTP through Email or SMS and redirects to the OTP verification screen. On OTP verification screen user has to enter the OTP that has been send to the respective email or phone number, also “Resend OTP?” a new feature has been added to the OTP verification screen to make sure user receives another OTP.
Login Screen Of OTP_Demo.
Verify OTP screen of OTP_DEMO.
Improvement and bug fixes.