Skip to content
Snippets Groups Projects
Commit 29ac8bdf authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

Bugfix for issue #561.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3259 44740490-163a-0410-bde0-09ae8108e29a
parent 719b0377
No related branches found
No related tags found
No related merge requests found
......@@ -551,7 +551,13 @@ class sspmod_saml_IdP_SAML2 {
'idpEntityID' => $idpMetadata->getString('entityid'),
));
$binding = new SAML2_HTTPRedirect();
$dst = $spMetadata->getDefaultEndpoint('SingleLogoutService', array(
SAML2_Const::BINDING_HTTP_REDIRECT,
SAML2_Const::BINDING_HTTP_POST)
);
$binding = SAML2_Binding::getBinding($dst['Binding']);
$lr->setDestination($dst['Location']);
return $binding->getRedirectURL($lr);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment