mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-21 17:42:44 -05:00
[GH-ISSUE #4858] DUO redirection after 2FA does not redirect to the subpath with 1.32.0 #29494
Reference in New Issue
Block a user
Originally created by @kilaketia on GitHub (Aug 14, 2024).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/4858
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 14, 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.