小编Sur*_*har的帖子

ADFS sso 和使用 Passport-saml Express“加密 SAML 响应没有解密密钥”

我在记录 ADFS SSO 时遇到此问题。“加密的 SAML 响应没有解密密钥”。从另一个帐户登录成功。有人可以帮我解决这个问题。我正在使用 Express 进行 Passport-saml 工作。

这是我陷入困境的代码快照。

node_modules/passport-saml/lib/passport-saml/saml.js 为 null。在第 623:15 行

 if (encryptedAssertions.length == 1) {
  if (!self.options.decryptionPvk)
    throw new Error('No decryption key for encrypted SAML response');
  var encryptedAssertionXml = encryptedAssertions[0].toString();
Run Code Online (Sandbox Code Playgroud)

encryption adfs node.js passport-saml

1
推荐指数
1
解决办法
1145
查看次数

标签 统计

adfs ×1

encryption ×1

node.js ×1

passport-saml ×1