Skip to content

Commit 243155c

Browse files
authored
Merge pull request #7 from GoIntegro/go5-idp-suffix
EntityId appended to Idp
2 parents aba90dc + 7d90793 commit 243155c

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)