Need 2 factor authetication through OTP recived by email or text message
Application Type
Traditional Web
Service Studio Version
11.12.2 (Build 50367)

Hi, there is a requirement for 2 factor authetication.

When user login every time to outsystems application , OTP need to recive to user's registered email id. Need 2 factor authetication where OTP recived through email or text message.

As per my understanding,  OTP can be recieved throught text message by using twilo API. But OTP through email - looking for solution.

Could any one please suggest any solution?  Thanks in advance!

Hi Mahesh,

you can use the below forge components OTP Generator and Validator,  Reactive Multi Factor Authentication (MFA)

Try the live demo - https://aadhavan.outsystemscloud.com/EmailOTP/

Thanks, Aadhavan S

which Rest API do I need to use for email?

Hello @Mahesh

Please refer attached  .OML for solution .

Also please visit this discussion for Email configuration :-  

https://www.outsystems.com/forums/discussion/79316/send-email-from-outsystems-to-gmail-etc/#Post329122 

Still if you’re finding difficulties please let us know.

Hope it will help you ,

Regards,

Anuli.

Forum.oml

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.