two-step login with yubi does not seem to work with waf #966

Closed
opened 2025-10-09 16:58:43 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @eleaner on GitHub.

Subject of the issue

It is probably rather missing element in recipe than in the vaultwarden itself
however it would then be an error in WiKi

after enabling two-step login an attempt to login through hardened docker installation ends with an email like below

log in directly to the vaulwardedn container (exposed port 80) works perfectly

image

Deployment environment

  • vaultwarden version: 2022.10.0

Steps to reproduce

following this recipe
https://github.com/dani-garcia/vaultwarden/wiki/Docker---Traefik---ModSecurity-Setup
enable yubikey authentication with ybikey

Expected behaviour

I am receiving a prompt to authenticate
image

Actual behaviour

I am receiving an error and email mentioned above
image

Troubleshooting data

Originally created by @eleaner on GitHub. <!-- # ### NOTE: Please update to the latest version of vaultwarden before reporting an issue! This saves you and us a lot of time and troubleshooting. See: * https://github.com/dani-garcia/vaultwarden/issues/1180 * https://github.com/dani-garcia/vaultwarden/wiki/Updating-the-vaultwarden-image # ### --> <!-- Please fill out the following template to make solving your problem easier and faster for us. This is only a guideline. If you think that parts are unnecessary for your issue, feel free to remove them. Remember to hide/redact personal or confidential information, such as passwords, IP addresses, and DNS names as appropriate. --> ### Subject of the issue It is probably rather missing element in recipe than in the vaultwarden itself however it would then be an error in WiKi after enabling two-step login an attempt to login through hardened docker installation ends with an email like below log in directly to the vaulwardedn container (exposed port 80) works perfectly ![image](https://user-images.githubusercontent.com/5169203/209483423-bb85cc32-350d-4ba1-8587-c0b8dcf53ec4.png) ### Deployment environment <!-- ========================================================================================= Preferably, use the `Generate Support String` button on the admin page's Diagnostics tab. That will auto-generate most of the info requested in this section. ========================================================================================= --> <!-- The version number, obtained from the logs (at startup) or the admin diagnostics page --> <!-- This is NOT the version number shown on the web vault, which is versioned separately from vaultwarden --> <!-- Remember to check if your issue exists on the latest version first! --> * vaultwarden version: 2022.10.0 <!-- How the server was installed: Docker image, OS package, built from source, etc. --> * Install method:docker-compose following this: https://github.com/dani-garcia/vaultwarden/wiki/Docker---Traefik---ModSecurity-Setup * Clients used: web-ui * Reverse proxy and version: traefik: latest * MySQL/MariaDB or PostgreSQL version: n/a * Other relevant details: ### Steps to reproduce <!-- Tell us how to reproduce this issue. What parameters did you set (differently from the defaults) and how did you start vaultwarden? --> following this recipe https://github.com/dani-garcia/vaultwarden/wiki/Docker---Traefik---ModSecurity-Setup enable yubikey authentication with ybikey ### Expected behaviour <!-- Tell us what you expected to happen --> I am receiving a prompt to authenticate ![image](https://user-images.githubusercontent.com/5169203/209483336-0e330f0c-6dd9-4a1a-abdf-618f6fe011e8.png) ### Actual behaviour <!-- Tell us what actually happened --> I am receiving an error and email mentioned above ![image](https://user-images.githubusercontent.com/5169203/209483352-58374b71-314f-473c-a7a4-672d31bc242a.png) ### Troubleshooting data <!-- Share any log files, screenshots, or other relevant troubleshooting data -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#966