Repository navigation
feat: sign out at the provider too (RP-initiated logout) - #7
Merged
Merged
Conversation
After an SSO sign-in, the panel's sign-out sends the browser to the provider's end_session_endpoint with id_token_hint, post_logout_redirect_uri (the panel's login page) and client_id — through the core's Admin::logoutRedirect() hook (laravel-admin 1.51). A per-provider switch, sign_out_at_provider, on by default. The Keycloak CI job checks it end to end. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Leaving the panel after an SSO sign-in ends the provider's session too.
Flow\SignOut:end_session_endpoint+id_token_hint+post_logout_redirect_uri(the panel's login page) +client_id; null for a password sign-in, a deleted/switched-off provider, or noend_session_endpoint.Admin::logoutRedirect()— needs laravel-admin 1.51 (feat(auth): logoutRedirect hook — sign out at the identity provider too laravel-admin#74); CI stays red until that is released.sign_out_at_provider(migration, on by default), hint shows the post-logout redirect URIs./admin/login, and the next sign-in shows the login form again (verified locally against Keycloak 26.4).🤖 Generated with Claude Code