mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-24 00:53:23 -05:00
TOTP not working with some services #1435
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 @0xab3d on GitHub (Dec 16, 2022).
Subject of the issue
TOTP not working with some services such as sucuri.net
Deployment environment
Install method: Docker
Clients used: web vault and Edge extension
Reverse proxy and version: Sucuri SaaS
MySQL/MariaDB or PostgreSQL version:
Other relevant details:
Steps to reproduce
Edit the Sucuri entry, try to add the TOTP seed, nothing happens. Once I click save, the Edge extension just logs out. Replicated this on the web as well.
Expected behaviour
TOTP seed starts providing the 6 digit codes.
Actual behaviour
The Edge extension and the web session logs out when I save the changes.
Troubleshooting data
@BlackDex commented on GitHub (Dec 16, 2022):
I'm not sure how Sucuri SaaS works. Does that add an extra layer of authentication, then that could be an issue.
@0xab3d commented on GitHub (Dec 16, 2022):
Hey, it is a reverse proxy (acting as WAF)
@BlackDex commented on GitHub (Dec 16, 2022):
I think the WAF is removing some headers or other items, which breaks either the client or server.
Check the logs, maybe set the log-level to debug for some more info.
@0xab3d commented on GitHub (Dec 16, 2022):
You're totally right. I have checked the logs and turned out the WAF is blocking PUT methods..