diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-07-31 01:49:24 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-07-31 10:33:39 +0300 |
commit | c55614dc3ce17fc7354c1d7112a54394214caec3 (patch) | |
tree | 44d858caa0904dcaa7968aa379ae6b0b96ee2a60 /lib | |
parent | ce7ad7ad2055e50312691ee6ba160d97c6f2ad46 (diff) |
Add baseurl to SAML settings
In case the protected server is behind reverse proxies with a different protocol this is required.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/samlsettings.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/samlsettings.php b/lib/samlsettings.php index 79e0db12..2d30ff9e 100644 --- a/lib/samlsettings.php +++ b/lib/samlsettings.php @@ -45,6 +45,7 @@ class SAMLSettings { $settings = [ 'strict' => true, 'debug' => $this->config->getSystemValue('debug', false), + 'baseurl' => $this->urlGenerator->getAbsoluteURL('/'), 'security' => [ 'nameIdEncrypted' => ($this->config->getAppValue('user_saml', 'security-nameIdEncrypted', '0') === '1') ? true : false, 'authnRequestsSigned' => ($this->config->getAppValue('user_saml', 'security-authnRequestsSigned', '0') === '1') ? true : false, |