A free open source IT asset/license management system
And still more debugging
snipe5869b6ed0c3e
diff --git a/app/Services/Saml.php b/app/Services/Saml.phpindex 9b0204bbce..dc46a0b920 100644--- a/app/Services/Saml.php+++ b/app/Services/Saml.php@@ -130,9 +130,11 @@ class Saml$this->clearData();}+ \Log::debug('Trying to create a new OneLogin_Saml2_Auth object ');try {$this->_auth = new OneLogin_Saml2_Auth($this->_settings);} catch (Exception $e) {+ \Log::debug('Trying OneLogin_Saml2_Auth failed - exception thrown. Setting SAML enabled to false.');$this->_enabled = false;}}@@ -155,6 +157,7 @@ class Saml$this->_enabled = $setting->saml_enabled == '1';if ($this->isEnabled()) {+ \Log::debug('SAML is enabled according to loadSettings()');//Let onelogin/php-saml know to use 'X-Forwarded-*' headers if it is from a trusted proxyOneLogin_Saml2_Utils::setProxyVars(request()->isFromTrustedProxy());