From 5b95003e9b67e09abad7982899f6e42e748e4389 Mon Sep 17 00:00:00 2001 From: Michael Gloystein Date: Thu, 1 Nov 2018 16:30:44 -0600 Subject: [PATCH] Adding encryptionAlgorithm and keyEncryptionAlgorighm to the saml20.create call --- lib/samlp.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/samlp.js b/lib/samlp.js index e568f16..55667dd 100644 --- a/lib/samlp.js +++ b/lib/samlp.js @@ -72,6 +72,8 @@ function getSamlResponse(options, user, callback) { saml20.create({ signatureAlgorithm: options.signatureAlgorithm, digestAlgorithm: options.digestAlgorithm, + keyEncryptionAlgorighm: options.keyEncryptionAlgorighm, + encryptionAlgorithm: options.encryptionAlgorithm, cert: options.cert, key: options.key, issuer: options.issuer,