mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-22 11:15:23 -04: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',
|
callbackUrl: config.serverURL + '/auth/saml/callback',
|
||||||
entryPoint: config.saml.idpSsoUrl,
|
entryPoint: config.saml.idpSsoUrl,
|
||||||
issuer: config.saml.issuer || config.serverURL,
|
issuer: config.saml.issuer || config.serverURL,
|
||||||
privateCert: config.saml.clientCert === undefined
|
privateKey: config.saml.clientCert === undefined
|
||||||
? undefined
|
? undefined
|
||||||
: (function () {
|
: (function () {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue