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
This commit is contained in:
Dan Brown 2020-09-05 19:26:47 +01:00
parent ff1ee2d71f
commit e5377d5f46
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -101,7 +101,7 @@ return [
'url' => env('SAML2_IDP_SLO', null), 'url' => env('SAML2_IDP_SLO', null),
// URL location of the IdP where the SP will send the SLO Response (ResponseLocation) // 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 // if not set, url for the SLO Request will be used
'responseUrl' => '', 'responseUrl' => null,
// SAML protocol binding to be used when returning the <Response> // SAML protocol binding to be used when returning the <Response>
// message. Onelogin Toolkit supports for this endpoint the // message. Onelogin Toolkit supports for this endpoint the
// HTTP-Redirect binding only // HTTP-Redirect binding only