Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rmartinc
Copy link
Contributor

Closes #43853

The logout endpoint, when logging out out of band using the id_token_hint, should take into account the auth session in case it still exists. For that the createOrJoinLogoutSession should be called after, when the user session is known. This way, we are doing the same that is executed for the refresh token, or when deleting a session using the admin console, the backchannelLogout is executed with the user session is passed (here). New test added with the very specific conditions needed to reach this issue.

Copy link
Contributor

@mposolda mposolda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rmartinc LGTM! Can you please rebase? It might help with the fix of the failing UI test.

@mposolda mposolda self-assigned this Oct 31, 2025
@rmartinc
Copy link
Contributor Author

@mposolda I sent this one with the other fix already merged, so I think it's different (it seems that it is just one flaky test failing in admin UI). Please re-run when finished. If I see that it fails again I will rebase it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ensure the logout endpoint removes the authentication session

2 participants