|
@@ -442,7 +442,7 @@ class PassportService {
|
|
|
? `${config.crowi['app:siteUrl']}/passport/saml/callback` // auto-generated with v3.2.4 and above
|
|
? `${config.crowi['app:siteUrl']}/passport/saml/callback` // auto-generated with v3.2.4 and above
|
|
|
: config.crowi['security:passport-saml:callbackUrl'] || process.env.SAML_CALLBACK_URI, // DEPRECATED: backward compatible with v3.2.3 and below
|
|
: config.crowi['security:passport-saml:callbackUrl'] || process.env.SAML_CALLBACK_URI, // DEPRECATED: backward compatible with v3.2.3 and below
|
|
|
issuer: config.crowi['security:passport-saml:issuer'] || process.env.SAML_ISSUER,
|
|
issuer: config.crowi['security:passport-saml:issuer'] || process.env.SAML_ISSUER,
|
|
|
- // cert: config.crowi['security:passport-saml:cert'] || process.env.SAML_CERT,
|
|
|
|
|
|
|
+ cert: config.crowi['security:passport-saml:cert'] || process.env.SAML_CERT,
|
|
|
}, function(profile, done) {
|
|
}, function(profile, done) {
|
|
|
if (profile) {
|
|
if (profile) {
|
|
|
return done(null, profile);
|
|
return done(null, profile);
|