mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 01:36:29 -05:00
SAML: Use privateKey
option
The old `privateCert` option was removed in https://github.com/node-saml/passport-saml/pull/569 Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
1119b30535
commit
7f3c04c9fc
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ passport.use(new SamlStrategy({
|
|||
callbackUrl: config.serverURL + '/auth/saml/callback',
|
||||
entryPoint: config.saml.idpSsoUrl,
|
||||
issuer: config.saml.issuer || config.serverURL,
|
||||
privateCert: config.saml.clientCert === undefined
|
||||
privateKey: config.saml.clientCert === undefined
|
||||
? undefined
|
||||
: (function () {
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue