Browse Source
fix(auth): handle null SAML authnContext context
pull/5392/head
Nicolas Giard
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
server/modules/authentication/saml/authentication.js
|
|
@ -14,14 +14,14 @@ module.exports = { |
|
|
|
callbackUrl: conf.callbackURL, |
|
|
|
entryPoint: conf.entryPoint, |
|
|
|
issuer: conf.issuer, |
|
|
|
cert: _.split(conf.cert || '', '|'), |
|
|
|
cert: (conf.cert || '').split('|'), |
|
|
|
signatureAlgorithm: conf.signatureAlgorithm, |
|
|
|
digestAlgorithm: conf.digestAlgorithm, |
|
|
|
identifierFormat: conf.identifierFormat, |
|
|
|
wantAssertionsSigned: conf.wantAssertionsSigned, |
|
|
|
acceptedClockSkewMs: _.toSafeInteger(conf.acceptedClockSkewMs), |
|
|
|
disableRequestedAuthnContext: conf.disableRequestedAuthnContext, |
|
|
|
authnContext: _.split(conf.authnContext, '|'), |
|
|
|
authnContext: (conf.authnContext || '').split('|'), |
|
|
|
racComparison: conf.racComparison, |
|
|
|
forceAuthn: conf.forceAuthn, |
|
|
|
passive: conf.passive, |
|
|
|