Skip to content

Commit 7d90793

Browse files
author
Jaime
committed
EntityId appended to Idp
1 parent aba90dc commit 7d90793

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

modules/saml/www/sp/saml2-acs.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
}
3535
}
3636

37+
// IdP
38+
// @see: go5-authentication GoIntegro\Service\SSO\Configurator
39+
if ($spMetadata->getBoolean('HasEntityIdAppendedToIdp', false)) {
40+
$idp .= '_' . $sourceId;
41+
}
42+
3743
$session = SimpleSAML_Session::getInstance();
3844
$prevAuth = $session->getAuthData($sourceId, 'saml:sp:prevAuth');
3945
if ($prevAuth !== NULL && $prevAuth['id'] === $response->getId() && $prevAuth['issuer'] === $idp) {

0 commit comments

Comments
 (0)