diff --git a/www/saml2/idp/SingleLogoutService.php b/www/saml2/idp/SingleLogoutService.php index f1e53e7bd4d39a9fa8e12126040bb2f7f587eccf..07723ee2d6d6c6a81c5741f6f8a84b69032b213c 100644 --- a/www/saml2/idp/SingleLogoutService.php +++ b/www/saml2/idp/SingleLogoutService.php @@ -21,8 +21,6 @@ $idpentityid = $metadata->getMetaDataCurrentEntityID('saml20-idp-hosted'); $session = SimpleSAML_Session::getInstance(); -$session->dump_sp_sessions(); - /* * If we get an LogoutRequest then we initiate the logout process. */ @@ -56,6 +54,11 @@ if (isset($_GET['SAMLRequest'])) { error_log('IdP LogoutService: got LogoutResponse from ' . $loginresponse->getIssuer() . ' '); } + +/* Dump the current sessions (for debugging). */ +$session->dump_sp_sessions(); + + /* * We proceed to send logout requests to all remaining SPs. */