mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #4042] Unable to Deauthorize sessions #1761
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#1761
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @MButcho on GitHub (Nov 6, 2023).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/4042
Subject of the issue
When I try to Deauthorize sessions, I receive following error:

The reason is I wanted to implement push notifications, which are not working
Deployment environment
vaultwarden version :v1.30.0
Install method: Docker image
Clients used: web vault, desktop, iOS
Reverse proxy and version: nginx version: nginx/1.18.0 (Ubuntu)
Nginx config:
Steps to reproduce
Log into web account / Account Settings / My Account / Deauthorize sessions / Send Code
Expected behaviour
Send email to confirm sessions deauthorize
Actual behaviour
Error above
Troubleshooting data
Log:
[2023-11-06 20:21:16.316][request][INFO] POST /api/accounts/request-otp
[2023-11-06 20:21:16.316][response][INFO] 404 Not Found
@MButcho commented on GitHub (Nov 6, 2023):
Other actions that require OTP have the same issue, like exporting vault
@BlackDex commented on GitHub (Nov 6, 2023):
Seems this only gets triggered when using
Login With Devicei think when looking at the Bitwarden client code.Can you confirm this?
@MButcho commented on GitHub (Nov 6, 2023):
Correct, when using master password to log in, the export and deauthorize is possible
@BlackDex commented on GitHub (Nov 6, 2023):
Great thanks!
@BlackDex commented on GitHub (Nov 6, 2023):
Also, i would suggest to update your nginx config to not use port 3012 anymore, and remove those locations. Also, sending
Connect: Upgradeall the time is probably not good.Check the https://github.com/dani-garcia/vaultwarden/wiki/Proxy-examples for more details.
@BlackDex commented on GitHub (Nov 7, 2023):
I'm able to reproduce this, so now to find the correct solution to fix this.
@BlackDex commented on GitHub (Nov 7, 2023):
Ok, it looks like this needs SMTP to be enabled.
Without this, you can't export, deauthorize, and maybe more specific items, like purge vault etc..
With this feature a mail will be sent with a passcode which enables you to verify you are you when you used
Login with devicewhich was unlocked via either PIN or Biometrics.@kqmaverick commented on GitHub (Nov 7, 2023):
I have SMTP enabled and still see this error.
@BlackDex commented on GitHub (Nov 8, 2023):
That is correct, since the endpoints which are called are not supported by Vaultwarden.
But there could be people who do not have SMTP enabled for which this could be an issue.
Only way they can bypass is to login without an other device.