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

Delete client cookie on introspection failure #385

Merged
merged 2 commits into from
May 28, 2024

Conversation

byewokko
Copy link
Collaborator

@byewokko byewokko commented May 28, 2024

Issue

When the client cookie introspection fails, the user is logged out completely because their SSO (root) cookie is deleted. When I log into one app and then navigate to another one that uses cookie introspection, my SSO cookie is deleted and I'm required to log in again.

Solution

Delete the client cookie instead of the SSO cookie so that a new cookie can be obtained via the authorization code flow without login if needed.

@byewokko byewokko added the bug Something isn't working label May 28, 2024
@byewokko byewokko self-assigned this May 28, 2024
@byewokko byewokko marked this pull request as ready for review May 28, 2024 08:43
@byewokko byewokko merged commit d26967f into main May 28, 2024
5 checks passed
@byewokko byewokko deleted the fix/client-cookie-logout branch May 28, 2024 09:18
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