Skip to content

Conversation

@barbun
Copy link
Contributor

@barbun barbun commented Nov 13, 2025

Issue

Current remote metadata configuration dynamically sets logout bindings. When no specific value for a logout binding is set, it falls back onto its corresponding login binding location. While this works for some IdP, this can cause issues with other IdPs that produce an error on attempts to process SP-initiated SingleLogoutService request.

In addition, it is arguably better to not enable SP-initiated SLO by default, and only do so on case-by-case basis.

Proposed solution

Introduce a check for SIMPLESAMLPHP_SP_SLO env variable with a default of false when not present. When false, no fallback location will be used for SingleLogoutService binding, effectively deactivating SP-initiated SLO. Practically, this means that when the user logs out - the log out only happens from Drupal without involving IdP.

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.

1 participant