Seems this only gets triggered when using Login With Device i think when looking at the Bitwarden client code.
Can you confirm this?
<!-- gh-comment-id:1796432734 -->
@BlackDex commented on GitHub (Nov 6, 2023):
Seems this only gets triggered when using `Login With Device` i think when looking at the Bitwarden client code.
Can you confirm this?
Correct, when using master password to log in, the export and deauthorize is possible
<!-- gh-comment-id:1796490635 -->
@MButcho commented on GitHub (Nov 6, 2023):
Correct, when using master password to log in, the export and deauthorize is possible
Also, i would suggest to update your nginx config to not use port 3012 anymore, and remove those locations. Also, sending Connect: Upgrade all the time is probably not good.
<!-- gh-comment-id:1796512036 -->
@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: Upgrade` all the time is probably not good.
Check the https://github.com/dani-garcia/vaultwarden/wiki/Proxy-examples for more details.
I'm able to reproduce this, so now to find the correct solution to fix this.
<!-- gh-comment-id:1799069264 -->
@BlackDex commented on GitHub (Nov 7, 2023):
I'm able to reproduce this, so now to find the correct solution to fix this.
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 device which was unlocked via either PIN or Biometrics.
<!-- gh-comment-id:1799139454 -->
@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 device` which was unlocked via either PIN or Biometrics.
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.
<!-- gh-comment-id:1801124603 -->
@BlackDex commented on GitHub (Nov 8, 2023):
> I have SMTP enabled and still see this error.
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.