Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/user_saml.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2018-08-14 19:03:37 +0300
committerBjoern Schiessle <bjoern@schiessle.org>2018-10-09 23:08:33 +0300
commit6d02ab07173dc4b7fde9a9839633add1d313923e (patch)
treec2275f4ff3bc4e066de058a9ef590e0e41cea3b6 /lib/SAMLSettings.php
parent425173365eb95ec965259fd6c7412a5bc062fc00 (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/SAMLSettings.php')
-rw-r--r--lib/SAMLSettings.php2
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,