diff --git a/app/Auth/Access/Saml2Service.php b/app/Auth/Access/Saml2Service.php index e72aef979..339701d27 100644 --- a/app/Auth/Access/Saml2Service.php +++ b/app/Auth/Access/Saml2Service.php @@ -65,10 +65,8 @@ class Saml2Service extends ExternalAuthService $nameIdFormat = env('SAML2_SP_NAME_ID_Format', null); $nameIdSPNameQualifier = env('SAML2_SP_NAME_ID_SP_NAME_QUALIFIER', null); - $url = $toolKit->logout($returnRoute, [], $email, null, true, $nameIdFormat, null, $nameIdSPNameQualifier); $id = $toolKit->getLastRequestID(); - } catch (Error $error) { if ($error->getCode() !== Error::SAML_SINGLE_LOGOUT_NOT_SUPPORTED) { throw $error; diff --git a/app/Config/saml2.php b/app/Config/saml2.php index 709931fc6..ad6dfe1f9 100644 --- a/app/Config/saml2.php +++ b/app/Config/saml2.php @@ -147,9 +147,9 @@ return [ // Multiple forced values can be passed via a space separated array, For example: // SAML2_IDP_AUTHNCONTEXT="urn:federation:authentication:windows urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport" 'requestedAuthnContext' => is_string($SAML2_IDP_AUTHNCONTEXT) ? explode(' ', $SAML2_IDP_AUTHNCONTEXT) : $SAML2_IDP_AUTHNCONTEXT, - 'logoutRequestSigned' => env('', false), - 'logoutResponseSigned' => env('', false), - 'lowercaseUrlencoding' => env('', false) + 'logoutRequestSigned' => env('SAML2_LOGOUT_REQUEST_SIGNED', false), + 'logoutResponseSigned' => env('SAML2_LOGOUT_RESPONSE_SIGNED', false), + 'lowercaseUrlencoding' => env('SAML2_LOWERCASE_URLENCODING', false) ], ],