mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #203] Second organization collection is working incorrectly in Vault until log out/in is done by the owner #105
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#105
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 @shauder on GitHub (Oct 1, 2018).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/203
Starting with a fresh database to make sure I didn't have any lingering issues from previous testing.
Observations:
Create new account
Create new org
Create second org
Create new collection in first org
Create new collection in second org
Adding a credential to the second org and then adding it to one of the collections seems to work initially. After reloading the web-vault the credential is no longer able to be decrypted and is lost.
@mprasil commented on GitHub (Oct 1, 2018):
This issue is weird, but it looks like there's something wrong in the client data when you create the second organization that causes the subsequent issues. If you create the second Organization and log off/log back in, everything seems to be working fine. The default collection shows up normally.
@shauder commented on GitHub (Oct 1, 2018):
You are correct the second default collection from the second org seems to work fine after a web-vault refresh in the browser. This seems to break the second collection I created in that org if it was made before a full refresh of the web-vault.
@mprasil commented on GitHub (Oct 14, 2018):
Okay, so after some in depth testing it looks like this only shows up if websockets aren't configured properly - the Vault app will get confused on unexpected error trying to sync and this is how this whole issue seems to start.
I've submitted PR #221 to hide the websockets negotiation behind configuration option and have that off by default as it will break Vault unless users also make sure proxy is configured correctly.
@mprasil commented on GitHub (Oct 15, 2018):
#221 is now merged, I think we can close this one. Images are just building.