mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #4129] Error decoding JWT immediately after login #1795
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#1795
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 @hzliu on GitHub (Dec 5, 2023).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/4129
vaultwarden version: 1.30.1
Install method: docker image
Clients used: web vault / android client
Reverse proxy and version: nginx 1.14.1
use sqlite
the server log followed:
Steps to reproduce
just login with the web vault
@BlackDex commented on GitHub (Dec 5, 2023):
Please provide the support string and in this case also your nginx reverse proxy config.
@hzliu commented on GitHub (Dec 5, 2023):
I can't get the support string since the same "Error decoding JWT" problem also affect the admin page:
the reverse proxy config:
ps: no config.json, the only env specified is DOMAIN=https://xxx.xxx.xxx, where xxx.xxx.xxx matches the server_name in ngx config
@BlackDex commented on GitHub (Dec 5, 2023):
Try to remove the
rsa_key.*files from your Vaultwarden data directory, restart Vaultwarden and see if that helps.@hzliu commented on GitHub (Dec 6, 2023):
rsa_key.* removed and vaultwarden restarted, same error
@BlackDex commented on GitHub (Dec 6, 2023):
Try to disable the admin token to login into the admin interface, that way you can just use the admin interface and the jwt decode should not be an issue. And then check the diagnostics page.
It could be date/time issues. It could be host issues in some way.
Else something maybe changed with your reverse proxy which does something with the JWT token maybe.
@hzliu commented on GitHub (Dec 6, 2023):
thx, removing the rsa key pair fixed the problem.