You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
I am using Authentik for quite a while now. My personal account is configured to use 2FA via OTP for better security.
However, when logging in, the OTP behaves really strange.
I want to login, enter username and password. Then the 2FA prompt shows up. 1Password fills the current code automatically (I checked if it's correct twice) and click login again. Nothing happens. The site just reloads with exactly the same step.
When clicking login again with the same (seemingly correct code), I get the error Invalid Token. Please ensure the time on your device is accurate and try again.
I checked the code twice if it's correct and it is.
I have to wait for 1Password to generate a new code. As soon as I enter it, Authentik successfully logs me in.
What I did to find the issue:
I checked my server time and time zone. It's correct and time zone is set to UTC.
Even when I pass /etc/timezone and /etc/localtime into the Authentik container, the issue persists.
When using another code generator, the issue persists (so it's probably not 1Password's fault).
I have set up a new 2FA like 3-4 times already. The issue doesn't seem to be the actual configured OTP.
The log related to the failed OTP seems to be this:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
I am using Authentik for quite a while now. My personal account is configured to use 2FA via OTP for better security.
However, when logging in, the OTP behaves really strange.
Invalid Token. Please ensure the time on your device is accurate and try again.
What I did to find the issue:
The log related to the failed OTP seems to be this:
I'm quite lost. I have no idea how to debug this and what might be missing.
Authentik details:
Beta Was this translation helpful? Give feedback.
All reactions