8000 Do not show the post logout redirect URIs field for SAML clients by Praiztl · Pull Request #55677 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Do not show the post logout redirect URIs field for SAML clients - #55677

Open
Praiztl wants to merge 1 commit into
keycloak:mainfrom
Praiztl:fix/54563-saml-post-logout-redirect-uri
Open

Praiztl wants to merge 1 commit into
keycloak:mainfrom
Praiztl:fix/54563-saml-post-logout-redirect-uri

Conversation

@Praiztl
@Praiztl Praiztl commented Nov 30, 2026
Copy link
Copy Markdown

Closes #54563

Post-logout redirect URIs are an OIDC-only concept (RP-Initiated Logout), so the field is now gated to non-SAML clients, matching how the neighbouring Web Origins field is already gated in the same component.

Decisions and assumptions. The Server Administration Guide documents this setting only under OIDC, with no SAML reference, so no documentation change is needed; the actionable part was the admin console rendering the field for SAML clients. Valid Redirect URIs are kept for SAML clients since SAML uses them, only the post-logout field is hidden. No end-to-end test is added, matching the existing Web Origins SAML gating which has none, though I am happy to add a Playwright assertion via the existing assertInputVisible helper if preferred.

This change was prepared with the help of an AI agent (Claude Code).

@Praiztl
Praiztl marked this pull request as ready for review December 1, 2026 16:43
@Praiztl
Praiztl requested review from a team as code owners December 1, 2026 16:43
Copilot AI balanced review requested due to automatic review settings December 1, 2026 16:43
Copilot AI left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the change hiding the OIDC-only post-logout redirect URI field from SAML clients.

No open issues 🎉

What changed in this PR

Hides the OIDC-only “Valid post logout redirect URIs” field for SAML clients in the admin console, addressing #54563.

Changes:

  • Renders the post-logout redirect URI field only for non-SAML clients.
  • Keeps Valid Redirect URIs available for SAML clients and preserves existing non-SAML behavior.
File Description
js/​apps/​admin-ui/​src/​clients/​add/​LoginSettings.tsx Adds a protocol check around the post-logout redirect URI field.

Review effort: Balanced

@Praiztl
Praiztl force-pushed the fix/54563-saml-post-logout-redirect-uri branch from d638385 to 254d714 Compare December 3, 2026 11:18
Copilot AI balanced review requested due to automatic review settings December 3, 2026 11:19
Copilot AI left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the change hiding the ineffective post-logout redirect URI field for SAML clients.

No open issues 🎉

Review effort: Balanced

Signed-off-by: Tochukwu Chikezie <95018735+Praiztl@users.noreply.github.com>
@Praiztl
Praiztl force-pushed the fix/54563-saml-post-logout-redirect-uri branch from 254d714 to 868965b Compare December 4, 2026 10:01
Copilot AI balanced review requested due to automatic review settings December 4, 2026 10:01
Copilot AI left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the change hiding the OIDC-only post-logout redirect URI field from SAML clients.

No open issues 🎉

Review effort: Balanced

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ineffective "Valid post logout redirect URIs" in SAML Client GUI; misleading documentation.

2 participants

0