Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encrypt cookie value in session update #394

Merged
merged 5 commits into from
Jun 13, 2024

Conversation

byewokko
Copy link
Collaborator

@byewokko byewokko commented Jun 13, 2024

Issue

Successful re-login leads to logout. This is caused by session cookie value being stored improperly in the DB. This happens only in root SSO session update, i.e. re-login.

Solution

Cookie value must be encrypted in session update the same way it is done in session creation.

@byewokko byewokko added the bug Something isn't working label Jun 13, 2024
@byewokko byewokko self-assigned this Jun 13, 2024
@byewokko byewokko marked this pull request as ready for review June 13, 2024 20:46
@byewokko byewokko merged commit 3c616cc into main Jun 13, 2024
2 checks passed
@byewokko byewokko deleted the fix/update-encrypted-session-field branch June 13, 2024 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant