Skip to content

Commit 13791b9

Browse files
committed
Find SSO endpoint prioritize by binding.
Not very important now tht we only specify one allowed binding, but remains correct when more bindings might be added in the future.
1 parent 3c47b1e commit 13791b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Auth/Process/SFO.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ private function startSFO(SimpleSAML_Configuration $idpMetadata, \SAML2\XML\saml
111111
SimpleSAML\Logger::debug('Sending SAML 2 SFO AuthnRequest for ' . $nameid->value . ' to ' .
112112
var_export($idpMetadata->getString('entityid'), true). ' with id ' . $ar->getId());
113113

114-
$dst = $idpMetadata->getDefaultEndpoint('SingleSignOnService',
114+
$dst = $idpMetadata->getEndpointPrioritizedByBinding('SingleSignOnService',
115115
[ \SAML2\Constants::BINDING_HTTP_REDIRECT ]
116116
);
117117

0 commit comments

Comments
 (0)