I'm always getting "invalid OTP" possibly related to timezone.
Could you give some guidance ?
I already tried to change the date time to utc using timezone forge component:
Hi!
Are you sure you are getting the right "secret" ?
the secret that is passed tot TOTP_Validate is the one that got generated when enabling the 2FA for my user. Is stored in UserSecret.Secret
extra information:
I'm working in an on premise environment. Issue occurs here.
but when deploying to my personal environment (outsystems cloud) everything works as expected.
any suggestions are welcome ;-)
That is an important information, you may have problems in the environment version of component. Have you seen in the service center if there are any message in the error log or the general log ?
error log:
previously posted screenshot clarified now. time of log is de time the log was created. Started is the time the worker process was started. So this is not causing the issue.
Probably issue is in the TOTP.net component