mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
DUO redirection after 2FA does not redirect to the subpath with 1.32.0 #2001
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kilaketia on GitHub (Aug 14, 2024).
Subject of the issue
After 2FA verification is done, DUO redirect us to https://fqdn/duo-redirect-connector.html instead of https://fqdn/subpath/duo-redirect-connector.html.
Deployment environment
vaultwarden version: 1.32.0
Install method: Docker
Clients used: web vault
Reverse proxy and version: NGINX 1.22.1-9
MySQL/MariaDB or PostgreSQL version: MariaDB
Other relevant details:
Steps to reproduce
Try to login with DUO 2FA, with Vaultwarden accessible from a sub path only, using the old interface or the universal prompt of DUO.
Expected behaviour
User should be redirected to https://fqdn/subpath/duo-redirect-connector.html after 2FA verification with DUO.
Actual behaviour
User is redirected to https://fqdn/duo-redirect-connector.html and receive a 404 error.
Troubleshooting data
Vaultwarden is configured with domain as "https://fqdn/vault/".
NGINX configuration :
Temporary fix :
@GeorgeCastanza commented on GitHub (Aug 15, 2024):
I suspect this is my issue too. When I login, the cloudflare tunnel is not redirecting properly (I guess??) and it's forwarding to my router page, not my vw instance.
Edit: login via email code does work.