From a22be81febd6f0bad118e8722e62c841836af807 Mon Sep 17 00:00:00 2001 From: Norihito Nakae Date: Wed, 29 Nov 2017 15:45:32 +0900 Subject: fixed the SAML callback URL to unconfigurable. --- lib/web/auth/saml/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/web/auth/saml') 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'), -- cgit v1.2.3