OIDC Logout does not trigger SAML Single Logout (SLO)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- php
- Domain
- authentication, backend
Research direction
Start with the OIDC module.php/oidc/logout.php entry point and compare its flow with the SAML SingleLogoutService.php endpoint described in the report. Trace how local, SAML, OIDC, and remote-IdP sessions are handled, then verify that OIDC logout reaches the expected cross-protocol logout behavior before redirecting.
Written by the indexing model from the issue text.
Description
Summary
I am using SimpleSAMLphp as an IdP with the OIDC module (acting as an OP). Several clients (SPs/RPs) are connected to this IdP, some via SAML and others via OIDC. Additionally, in some cases, the IdP also acts as an SP and authenticates users through another remote IdP.
Problem
When logging out via OIDC, the IdP completes the local logout process and redirects to the specified return URL without logging out the associated SPs/RPs or any remote IdP that may have been involved.
Here is the OIDC logout URL I call:
https://myidp.tld/ssp/module.php/oidc/logout.php?id_token_hint=XXX&post_logout_redirect_uri=XXX
However, when logging out using SAML Single Logout (SLO), the logout process ensures that all SPs are logged out, including any possible remote IdP, before redirecting to the calling party.
Here is the SAML SLO URL I call:
https://myidp.tld/ssp/saml2/idp/SingleLogoutService.php?ReturnTo=XXX
Expected Behavior
Shouldn't the OIDC logout process also trigger the SAML SLO, ensuring that the session is terminated for all clients, both OIDC and SAML?
Version Info
- SimpleSAMLphp: v2.3.2
- OIDC Module: v5.1.0
Additional Information
Please let me know if this behavior is intended or if additional configuration is needed to enable SLO for OIDC clients. Any guidance on ensuring a consistent logout experience across both protocols would be greatly appreciated.
- Dominant language
- PHP
- Stars
- 51
- Forks
- 27
- Avg merge
- 12m
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from simplesamlphp/simplesamlphp-module-oidc
-
prepared
Difficulty 5/5 Over a week Newbie friendliness 35/100
simplesamlphp/simplesamlphp-module-oidc#360 · 2 comments ·
-
prepared
Difficulty 3/5 1-2 days Newbie friendliness 65/100
simplesamlphp/simplesamlphp-module-oidc#358 · 2 comments ·
-
ECDSA (ES256) support issues in OIDC module (JWK generation and token verification)May be free again @cicnavi claimed this 232 days ago, and no pull request is open. Openprepared
simplesamlphp/simplesamlphp-module-oidc#334 · 1 comment · 1 assignee ·
-
Encryption key can only be stringMay be free again @cicnavi claimed this 271 days ago, and no pull request is open. Openenhancement prepared
simplesamlphp/simplesamlphp-module-oidc#332 · 1 comment · 1 assignee ·
-
ReflectionParameter::getClass() is deprecatedMay be free again @cicnavi claimed this 286 days ago, and no pull request is open. Openprepared
simplesamlphp/simplesamlphp-module-oidc#327 · 2 comments · 1 assignee ·
All issues in simplesamlphp/simplesamlphp-module-oidc
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 1/5 Under an hour Newbie friendliness 91/100
nhrrob/nhrrob-secure#35 ·
-
area/tests type/bug when/soon
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 87/100
Maintainers usually reply within 1 day
-
UI enters infinite reload loop when SESSION_LIFETIME > ~24.8 days (setTimeout 32-bit overflow in base.twig)Possibly taken A pull request linked to this issue is open or already merged. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mailcow/mailcow-dockerized#7725 ·
Maintainers usually reply within 1 day