mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 17:23:04 +03:00
[PR #6205] Improve sso auth flow #2441
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?
Original Pull Request: https://github.com/dani-garcia/vaultwarden/pull/6205
State: open
Merged: No
This PR make multiple modifications to the authentication flow:
codeorerror) in a JWT token to pass through Bitwarden redirection. Instead, it stores them in database and use thestateto find them again.The length of the JWT Token might have been causing issue with the desktop client and Chrome on Windows.
codeis the one which initiated the request (Either pass it to the provider or check it before calling it).Documentation which could be added to the wiki:
Login Flow
On
SSO_PKCEWhen activated the Bitwarden Clients PKCE code challenge are passed to the provider.
If disabled PKCE validation is still done before exchanging the code.