Skip to content

[BUG] 2FA setup not working #17642

Closed Answered by sebiweise
sebiweise asked this question in Self-Hosting
Nov 13, 2024 · 3 comments · 4 replies
Discussion options

You must be logged in to vote

Ah ok, this is weird. The .env.example file tells you to use a 32 character key, but in local-development you should use 24 characters and then it works fine entering your passwort. I've used this command: openssl rand -base64 24.
I had to delete my current database/user(s), but after re-registering I was able to set up 2FA.

But now I got this error:

The code I´ve entered is the fresh 2FA code (I removed it for the screenshot)

Logs showing some bad 400 requests

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@sebiweise
Comment options

@tyrelwar
Comment options

Comment options

You must be logged in to vote
2 replies
@tyrelwar
Comment options

@sebiweise
Comment options

Answer selected by sebiweise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working authentication area: authentication, auth, google sign in, password, SAML, password reset, can't log in
2 participants
Converted from issue

This discussion was converted from issue #17616 on November 14, 2024 16:34.