Replies: 1 comment 1 reply
-
That is how it works. The Bitwarden clients act upon a 400 message and return the available options to provide a 2FA. If it does not, then you probably have your reverse proxy or tunnel configured in such a way that it intercepts these messages and changes them in some way. With Vaultwarden v1.32.7 you can see if this is the case by going to |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After installing vaultwarden I can't seem to get fido2 working, setting the 2fa seems fine in the webinterface and there's a checkbox in admin section under my user.
I run a default docker install behind a nginx proxy server. I have disabled custom error messages as reported in some tickets. Checking in the browser tab under network response it does give a json error request:
(changed domains).
I have enabled logging in the vaultwarden image, the error message is "2fa token not provided"
2025-01-16 10:40:45.362][request][INFO] GET /api/devices/knowndevice [2025-01-16 10:40:45.363][response][INFO] (get_known_device) GET /api/devices/knowndevice => 200 OK [2025-01-16 10:40:48.717][vaultwarden::api::core::two_factor][DEBUG] Sending notifications for incomplete 2FA logins [2025-01-16 10:40:48.717][vaultwarden::api::core::accounts][DEBUG] Purging auth requests [2025-01-16 10:40:48.717][vaultwarden::api::core::two_factor::duo_oidc][DEBUG] Purging Duo authentication contexts [2025-01-16 10:40:53.266][request][INFO] GET /alive [2025-01-16 10:40:53.266][response][INFO] (alive) GET /alive => 200 OK [2025-01-16 10:40:56.939][request][INFO] POST /identity/accounts/prelogin [2025-01-16 10:40:56.940][response][INFO] (prelogin) POST /identity/accounts/prelogin => 200 OK [2025-01-16 10:40:57.007][request][INFO] POST /identity/connect/token [2025-01-16 10:40:57.312][error][ERROR] 2FA token not provided [2025-01-16 10:40:57.312][response][INFO] (login) POST /identity/connect/token => 400 Bad Request
Beta Was this translation helpful? Give feedback.
All reactions