FIDO2 2FA not working when using reverse proxy #1853

Closed
opened 2026-04-06 02:29:04 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Anonym234 on 12/20/2022

I use the vaultwarden/server docker container behind a nginx-based reverse proxy. The connection between nginx and the vaultwarden docker container is via http (nginx redirects to http://localhost:<some port>) and my docker-compose config redirects port to port 80 in the vaultwarden container.

When I log in, the browser extension or website asks for my 2FA and displays an error message, saying that this operation is not allowed.

*Originally created by @Anonym234 on 12/20/2022* I use the vaultwarden/server docker container behind a nginx-based reverse proxy. The connection between nginx and the vaultwarden docker container is via http (nginx redirects to `http://localhost:<some port>`) and my docker-compose config redirects port <some port> to port 80 in the vaultwarden container. When I log in, the browser extension or website asks for my 2FA and displays an error message, saying that this operation is not allowed.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1853