Ver Fonte

GC-1011: add 'security:passport-saml:cert' config and support SAML_CERT env var

Yuki Takei há 7 anos atrás
pai
commit
912650b9b6
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/server/service/passport.js

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

@@ -434,6 +434,7 @@ class PassportService {
       entryPoint: config.crowi['security:passport-saml:entryPoint'] || process.env.SAML_ENTRY_POINT,
       callbackUrl: config.crowi['security:passport-saml:callbackUrl'] || process.env.SAML_CALLBACK_URI,
       issuer: config.crowi['security:passport-saml:issuer'] || process.env.SAML_ISSUER,
+      cert: config.crowi['security:passport-saml:cert'] || process.env.SAML_CERT,
     }, function(profile, done) {
       if (profile) {
         return done(null, profile);