-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DUO redirection after 2FA does not redirect to the subpath with 1.32.0 #4858
Labels
bug
Something isn't working
Comments
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. |
BlackDex
added a commit
to BlackDex/vaultwarden
that referenced
this issue
Aug 15, 2024
The URL crate treats `https://domain.tld/path` differently then `https://domain.tld/path/` the latter will make sure a `.join()` will append the given path instead of using the base as a relative path. Fixes dani-garcia#4858
dfunkt
pushed a commit
to dfunkt/vaultwarden
that referenced
this issue
Aug 15, 2024
The URL crate treats `https://domain.tld/path` differently then `https://domain.tld/path/` the latter will make sure a `.join()` will append the given path instead of using the base as a relative path. Fixes dani-garcia#4858
dani-garcia
pushed a commit
that referenced
this issue
Aug 15, 2024
The URL crate treats `https://domain.tld/path` differently then `https://domain.tld/path/` the latter will make sure a `.join()` will append the given path instead of using the base as a relative path. Fixes #4858
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 :
The text was updated successfully, but these errors were encountered: