mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
login problem #1078
Reference in New Issue
Block a user
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 @junhou-he on GitHub (Jul 20, 2021).
Subject of the issue
The user accepted the email invitation and an error occurred while creating the account
Deployment environment
Install method: Docker image
Clients used: web vault
Reverse proxy and version: nginx-1.20.1-2
MySQL/MariaDB or PostgreSQL version:
Other relevant details:
[error][ERROR] Error decoding JWT.
[CAUSE] Error(
InvalidSignature,
)
Steps to reproduce
docker run -d --name vaultwarden -v /data/:/data/ -p 8080:80 vaultwarden/server:latest
Expected behaviour
The user accepts the email invitation and creates an account normally
Actual behaviour
The user accepted the email invitation and an error occurred while creating the account
Troubleshooting data
logs.txt
@BlackDex commented on GitHub (Jul 20, 2021):
Either the user didn't accepted it soon enough, the token is only valid for 5 days. Or your security keys used to encode and decode those tokens were changed.
@junhou-he commented on GitHub (Jul 21, 2021):
Hi BlackDex,
The user creates an account within five minutes of sending the invitation and reports the error. I didn't change any security keys.
@BlackDex commented on GitHub (Jul 21, 2021):
Could you please generate a support string via
/admin/diagnostics?@junhou-he commented on GitHub (Jul 21, 2021):
Hi ,
How to generate a support string, I can not find the path /admin/diagnostics
@BlackDex commented on GitHub (Jul 21, 2021):
you need to go to
https://your.domain.tld/admin/diagnosticsthat's it.@junhou-he commented on GitHub (Jul 22, 2021):
Hi,
Your environment (Generated via diagnostics page)
Config (Generated via diagnostics page)
Show Running Config
Environment settings which are overridden:
@BlackDex commented on GitHub (Jul 22, 2021):
Well i have tested this my self the following way:
Within a browser i opened
http://127.0.0.1:1080andhttp://127.0.0.1:8080.Then i created an account, and organization, and after that I invited a user. Checked the MailDev interface and used the received link to create an account. All works without any issues.
I also tested
vaultwarden/server:testingsame result.@junhou-he commented on GitHub (Jul 23, 2021):
Okay ,thank you. The error may be caused by improper operation by the user, I will close this issue