-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Unable to Deauthorize sessions #4042
Comments
Other actions that require OTP have the same issue, like exporting vault |
Seems this only gets triggered when using Can you confirm this? |
Correct, when using master password to log in, the export and deauthorize is possible |
Great thanks! |
Also, i would suggest to update your nginx config to not use port 3012 anymore, and remove those locations. Also, sending 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. |
Ok, it looks like this needs SMTP to be enabled. With this feature a mail will be sent with a passcode which enables you to verify you are you when you used |
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. |
Since the feature `Login with device` some actions done via the web-vault need to be verified via an OTP instead of providing the MasterPassword. This only happens if a user used the `Login with device` on a device which uses either Biometrics login or PIN. These actions prevent the athorizing device to send the MasterPasswordHash. When this happens, the web-vault requests an OTP to be filled-in and this OTP is send to the users email address which is the same as the email address to login. The only way to bypass this is by logging in with the your password, in those cases a password is requested instead of an OTP. In case SMTP is not enabled, it will show an error message telling to user to login using there password. Fixes dani-garcia#4042
Since the feature `Login with device` some actions done via the web-vault need to be verified via an OTP instead of providing the MasterPassword. This only happens if a user used the `Login with device` on a device which uses either Biometrics login or PIN. These actions prevent the athorizing device to send the MasterPasswordHash. When this happens, the web-vault requests an OTP to be filled-in and this OTP is send to the users email address which is the same as the email address to login. The only way to bypass this is by logging in with the your password, in those cases a password is requested instead of an OTP. In case SMTP is not enabled, it will show an error message telling to user to login using there password. Fixes dani-garcia#4042
Since the feature `Login with device` some actions done via the web-vault need to be verified via an OTP instead of providing the MasterPassword. This only happens if a user used the `Login with device` on a device which uses either Biometrics login or PIN. These actions prevent the athorizing device to send the MasterPasswordHash. When this happens, the web-vault requests an OTP to be filled-in and this OTP is send to the users email address which is the same as the email address to login. The only way to bypass this is by logging in with the your password, in those cases a password is requested instead of an OTP. In case SMTP is not enabled, it will show an error message telling to user to login using there password. Fixes #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
The text was updated successfully, but these errors were encountered: