mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #4505] Expired Authorization after Duo Push #1904
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#1904
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 @khadanja on GitHub (Apr 16, 2024).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/4505
Subject of the issue
Unable to login suddenly. Error shows expired authorization after approving Duo push
Deployment environment
Docker
Your environment (Generated via diagnostics page)
Config (Generated via diagnostics page)
Show Running Config
Environment settings which are overridden: SIGNUPS_ALLOWED
SIGNUPS_ALLOWED=false
Docker
Web vault, Firefox extension, iOS
nginx proxy manager v2.11.1
N/A
Was working fine until few days ago
Steps to reproduce
Log in to vaultwarden using username & password, Send Duo Push, approve Duo push, error. Duo dashboard shows successful authentication.
Docker container
Expected behaviour
Log in successfully after Duo push approval
Actual behaviour
Expired Authorization error
Troubleshooting data
Container log-
[2024-04-16 01:02:40.781][response][INFO] (login) POST /identity/connect/token => 400 Bad Request
[2024-04-16 01:02:52.779][request][INFO] POST /identity/connect/token
[2024-04-16 01:02:52.949][vaultwarden::api::core::two_factor::duo][ERROR] Expired authorization
[2024-04-16 01:02:52.949][response][INFO] (login) POST /identity/connect/token => 400 Bad Request
Browser Response-
{"ErrorModel":{"Message":"Expired authorization","Object":"error"},"ExceptionMessage":null,"ExceptionStackTrace":null,"InnerExceptionMessage":null,"Message":"Expired authorization","Object":"error","ValidationErrors":{"":["Expired authorization"]},"error":"","error_description":""}
@spyhunter493 commented on GitHub (Apr 16, 2024):
You clocks are out of sync, " Browser/Server Time Check: false"
sync you server host and your client computer time, and should fix it
@khadanja commented on GitHub (Apr 16, 2024):
time is off by 1 minute, it's always been like that. Not sure how to sync. Host has correct ntp server assigned but still shows 1 minute forward. Host-Tue Apr 16 14:33:22 NZST 2024, Client-The current time is: 14:32:00.97. By the way I can login using other authentication methods only Duo is the issue.
@Gerardv514 commented on GitHub (Apr 16, 2024):
What’s the ntp server that you’re using?
@khadanja commented on GitHub (Apr 16, 2024):
@Gerardv514 commented on GitHub (Apr 16, 2024):
Can you try setting to pool.ntp.org to see if the time come offset is corrected.