From 68fb46c08d69da63cc752d3b61e140abfac6eb9b Mon Sep 17 00:00:00 2001 From: Thijs Kinkhorst <thijs@kinkhorst.com> Date: Thu, 26 Aug 2021 18:01:55 +0000 Subject: [PATCH] Fix SingleLogoutServiceLocation config option not respected --- modules/saml/lib/Auth/Source/SP.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/saml/lib/Auth/Source/SP.php b/modules/saml/lib/Auth/Source/SP.php index e9304474a..5e1ebe069 100644 --- a/modules/saml/lib/Auth/Source/SP.php +++ b/modules/saml/lib/Auth/Source/SP.php @@ -397,7 +397,8 @@ class SP extends \SimpleSAML\Auth\Source Constants::BINDING_SOAP, ] ); - $location = Module::getModuleURL('saml/sp/saml2-logout.php/' . $this->getAuthId()); + $defaultLocation = Module::getModuleURL('saml/sp/saml2-logout.php/' . $this->getAuthId()); + $location = $this->metadata->getString('SingleLogoutServiceLocation', $defaultLocation); $endpoints = []; foreach ($bindings as $binding) { -- GitLab