Single Logout Service(SLS) not working when configured for multisite

Created on 26 May 2023, over 1 year ago
Updated 26 July 2023, over 1 year ago

Problem/Motivation

Users in 2nd-and-further Drupal sites (SPs) in a logout flow are not actually logged out from Drupal.

Steps to reproduce

  1. Create multisite Drupal sites.
  2. Configure SAML config in all sites as per Azure AD.
  3. Perform login using /saml/login in all the configured sites. Login successful.
  4. Perform SAML logout in any one site and check the SAML response (SAML chrome extension) as it is destroying the sessions for all the multisites which are currently logged in the browser.
  5. Reload the other sites in which SAML or Drupal logout is not initiated and the session is still active.

I have checked the current user status, saml_session keys in the drupalLogoutHelper, but all are showing NULL.

Proposed resolution

When logout is performed in one of the opened sites then all the sessions of the other opened sites need to be destroyed.

🐛 Bug report
Status

Postponed: needs info

Version

3.8

Component

Code

Created by

🇮🇳India sivakarthik229

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024