Skip to content

Commit 0a56447

Browse files
authored
Fix legacy endpoint
1 parent bd129fe commit 0a56447

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

modules/saml/src/IdP/SAML2.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ public static function getLogoutURL(IdP $idp, array $association, string $relayS
762762
if ($relayState !== null) {
763763
$params['RelayState'] = $relayState;
764764
}
765-
return Module::getModuleURL('core/idp/logout-iframe-post.php', $params);
765+
return Module::getModuleURL('core/idp/logout-iframe-post', $params);
766766
}
767767

768768
$lr = self::buildLogoutRequest($idpMetadata, $spMetadata, $association, $relayState);
@@ -907,7 +907,7 @@ public static function getHostedMetadata(string $entityid, MetaDataStorageHandle
907907
$metadata['ArtifactResolutionService'][] = [
908908
'index' => 0,
909909
'Binding' => C::BINDING_SOAP,
910-
'Location' => $httpUtils->getBaseURL() . 'module.php/saml/idp/artifactResolutionService'
910+
'Location' => Module::getModuleURL('saml/idp/artifactResolutionService'),
911911
];
912912
}
913913

@@ -918,7 +918,7 @@ public static function getHostedMetadata(string $entityid, MetaDataStorageHandle
918918
[
919919
'hoksso:ProtocolBinding' => C::BINDING_HTTP_REDIRECT,
920920
'Binding' => C::BINDING_HOK_SSO,
921-
'Location' => $httpUtils->getBaseURL() . 'module.php/saml/idp/singleSignOnService',
921+
'Location' => Module::getModuleURL('saml/idp/singleSignOnService'),
922922
]
923923
);
924924
}
@@ -928,7 +928,7 @@ public static function getHostedMetadata(string $entityid, MetaDataStorageHandle
928928
$metadata['SingleSignOnService'][] = [
929929
'index' => 0,
930930
'Binding' => C::BINDING_SOAP,
931-
'Location' => $httpUtils->getBaseURL() . 'module.php/saml/idp/singleSignOnService',
931+
'Location' => Module::getModuleURL('saml/idp/singleSignOnService'),
932932
];
933933
}
934934

0 commit comments

Comments
 (0)