From e5377d5f46539c6b8098000135d2f3f5fab4cd81 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sat, 5 Sep 2020 19:26:47 +0100 Subject: [PATCH] Updated saml2 slo config so url is used if no repsonse url Updated config to change empty string to null since the empty string was hitting an isset check which caused an empty string to be used instead of the slo url as a backup option. Closes #2002 --- app/Config/saml2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Config/saml2.php b/app/Config/saml2.php index 5f2c1395b..d695abf32 100644 --- a/app/Config/saml2.php +++ b/app/Config/saml2.php @@ -101,7 +101,7 @@ return [ 'url' => env('SAML2_IDP_SLO', null), // URL location of the IdP where the SP will send the SLO Response (ResponseLocation) // if not set, url for the SLO Request will be used - 'responseUrl' => '', + 'responseUrl' => null, // SAML protocol binding to be used when returning the // message. Onelogin Toolkit supports for this endpoint the // HTTP-Redirect binding only