Browse Source

Merge pull request #605 from weseek/fix/604-saml-callbackurl-setting

fix #604 modify 'security:passport-saml:path'
Yuki Takei 7 years ago
parent
commit
e6ad1a26d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/server/service/passport.js

+ 1 - 1
src/server/service/passport.js

@@ -431,7 +431,7 @@ class PassportService {
 
 
     debug('SamlStrategy: setting up..');
     debug('SamlStrategy: setting up..');
     passport.use(new SamlStrategy({
     passport.use(new SamlStrategy({
-      path: config.crowi['security:passport-saml:path'] || process.env.SAML_CALLBACK_URI,
+      path: config.crowi['security:passport-saml:callbackUrl'] || process.env.SAML_CALLBACK_URI,
       entryPoint: config.crowi['security:passport-saml:entryPoint'] || process.env.SAML_ENTRY_POINT,
       entryPoint: config.crowi['security:passport-saml:entryPoint'] || process.env.SAML_ENTRY_POINT,
       issuer: config.crowi['security:passport-saml:issuer'] || process.env.SAML_ISSUER,
       issuer: config.crowi['security:passport-saml:issuer'] || process.env.SAML_ISSUER,
     }, function(profile, done) {
     }, function(profile, done) {