Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

activateMfa giving back invalid-otp error 401 (Unauthorized) #606

Open
DevToMusic opened this issue Jan 30, 2025 · 1 comment
Open

activateMfa giving back invalid-otp error 401 (Unauthorized) #606

DevToMusic opened this issue Jan 30, 2025 · 1 comment

Comments

@DevToMusic
Copy link

I solved that by putting in follow snippet before the totpSecret check on the mfa.ts

authenticator.options = { window: 1, };

@dbarrosop
Copy link
Member

dbarrosop commented Jan 30, 2025

Hello,
thanks for raising the issue, would you mind elaborating a bit, please? I am unsure what the issue here is, how you got to it or how the solution relates to it.

Version and relevant logs from the service would also be very much welcomed.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants