Originally created by @Anonym234 on GitHub (Dec 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 GitHub (Dec 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.
Then your nginx added or modified some security headers which prevents a good working environment.
Headers like Content-Security-Policy or X-Frame-Options should not be altered, or in some cases not even sent, like for the popup screens used for mfa, because, else they are blocked.
Also, the DOMAIN needs to be configured correctly, else that will cause issues too.
And you need https if it is not localhost or 127.0.0.1.
@BlackDex commented on GitHub (Dec 20, 2022):
Then your nginx added or modified some security headers which prevents a good working environment.
Headers like `Content-Security-Policy` or `X-Frame-Options` should not be altered, or in some cases not even sent, like for the popup screens used for mfa, because, else they are blocked.
Also, the DOMAIN needs to be configured correctly, else that will cause issues too.
And you need https if it is not `localhost` or `127.0.0.1`.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @Anonym234 on GitHub (Dec 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.
@BlackDex commented on GitHub (Dec 20, 2022):
Then your nginx added or modified some security headers which prevents a good working environment.
Headers like
Content-Security-PolicyorX-Frame-Optionsshould not be altered, or in some cases not even sent, like for the popup screens used for mfa, because, else they are blocked.Also, the DOMAIN needs to be configured correctly, else that will cause issues too.
And you need https if it is not
localhostor127.0.0.1.