diff options
author | Norihito Nakae | 2017-11-29 15:45:32 +0900 |
---|---|---|
committer | Norihito Nakae | 2017-11-29 15:45:32 +0900 |
commit | a22be81febd6f0bad118e8722e62c841836af807 (patch) | |
tree | c4c6d15d45ee617d6598d47c0d08bb8f1425c172 /lib/web/auth | |
parent | 4a4ae9d332cff31991d9f63417895fce18717f61 (diff) |
fixed the SAML callback URL to unconfigurable.
Diffstat (limited to '')
-rw-r--r-- | lib/web/auth/saml/index.js | 2 |
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'), |