Hello, we are relatively new to OutSystems and are trying to implement the two factor authenticator in our app and are not sure how. We've tried copying over server actions and screens from the demo app to a test app and had no luck. Are there any instructions on how to implement?
The service application provides server actions which takes control of the 2FA process. Please review the login screen and the flow of the demo application which handles the 2FA while logging in. Please note the Issuer and App Name can be configured in the site properties for display on Google Authenticator or Microsoft Authenticator.
Hi Babu and OS collegues!
I was using successfully the Two Factor Authentication component but recently I discovered an issue:
EnableOTP function works well (and users can link their accounts with the third party Authenticator App through VerifyAndConfirmOTP function).
Once 2FA is enabled, UserSecureLogin validates successfully the user and returns a token and the the problem starts here: the token received from UserSecureLogin function sometimes is not accepted by the final funcion ValidateOTPandLogin.
I suppose something is not doing the expected match between the provided-token by UserSecureLogin and the validation-inside ValidateOTPandLogin. I thing could be a bug, or maybe an update required in the Two Factor Authentication App.
When I activate 2FA for some users, it works very well the first three-four times. After that I start to receive the Invalid Token error message.
Thanks for your help!
Hi!
Updating my own case: I downloaded the demo App and drew on my App the QR in the same way as the demo and everything worked well!