diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-08-14 19:03:37 +0300 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2018-10-09 23:08:33 +0300 |
commit | 6d02ab07173dc4b7fde9a9839633add1d313923e (patch) | |
tree | c2275f4ff3bc4e066de058a9ef590e0e41cea3b6 /lib | |
parent | 425173365eb95ec965259fd6c7412a5bc062fc00 (diff) |
set base url to 'http://domain/nextcloud/index.php/apps/user_saml/saml'
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/SAMLSettings.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SAMLSettings.php b/lib/SAMLSettings.php index be0f9ffc..58bd1299 100644 --- a/lib/SAMLSettings.php +++ b/lib/SAMLSettings.php @@ -101,7 +101,7 @@ class SAMLSettings { $settings = [ 'strict' => true, 'debug' => $this->config->getSystemValue('debug', false), - 'baseurl' => $this->request->getServerProtocol() . '://' . $this->request->getServerHost(), + 'baseurl' => $this->urlGenerator->linkToRouteAbsolute('user_saml.SAML.base'), 'security' => [ 'nameIdEncrypted' => ($this->config->getAppValue('user_saml', $prefix . 'security-nameIdEncrypted', '0') === '1') ? true : false, 'authnRequestsSigned' => ($this->config->getAppValue('user_saml', $prefix . 'security-authnRequestsSigned', '0') === '1') ? true : false, |