summaryrefslogtreecommitdiff
path: root/lib/web
diff options
context:
space:
mode:
authorNorihito Nakae2017-11-29 15:45:32 +0900
committerNorihito Nakae2017-11-29 15:45:32 +0900
commita22be81febd6f0bad118e8722e62c841836af807 (patch)
treec4c6d15d45ee617d6598d47c0d08bb8f1425c172 /lib/web
parent4a4ae9d332cff31991d9f63417895fce18717f61 (diff)
fixed the SAML callback URL to unconfigurable.
Diffstat (limited to 'lib/web')
-rw-r--r--lib/web/auth/saml/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/web/auth/saml/index.js b/lib/web/auth/saml/index.js
index 575c6f31..063fa1d6 100644
--- a/lib/web/auth/saml/index.js
+++ b/lib/web/auth/saml/index.js
@@ -13,7 +13,7 @@ const intersection = function (array1, array2) { return array1.filter((n) => arr
let samlAuth = module.exports = Router()
passport.use(new SamlStrategy({
- callbackUrl: config.saml.callbackUrl || config.serverurl + '/auth/saml/callback',
+ callbackUrl: config.serverurl + '/auth/saml/callback',
entryPoint: config.saml.idpSsoUrl,
issuer: config.saml.issuer || config.serverurl,
cert: fs.readFileSync(config.saml.idpCert, 'utf-8'),