【问题标题】:Does JWT Grant in Dousign require additional configutation when in ProductionDocusign 中的 JWT Grant 在生产中是否需要额外的配置
【发布时间】:2021-05-07 00:10:52
【问题描述】:

我已经尝试过Node.js Quickstart Demos,并且能够在开发中使用 JWT Grant 来授予同意。最近我申请了 Go-Live,现在我的应用程序集成在 Docusign 中。我还配置了实时应用程序设置。如何使用生产配置通过快速入门示例测试 JWT-Grant?它不断向我抛出这个错误,而且关于上线后流程的支持很少。

Error: Target account true not found!
    at _DsJwtAuth._getUserInfo [as getUserInfo] (D:\HyperloopCMT-Docusign-node.js\lib\DSJwtAuth.js:138:15)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async log (D:\HyperloopCMT-Docusign-node.js\lib\DSJwtAuth.js:181:22)
(node:22912) UnhandledPromiseRejectionWarning: Error: Target account true not found!
    at _DsJwtAuth._getUserInfo [as getUserInfo] (D:\HyperloopCMT-Docusign-node.js\lib\DSJwtAuth.js:138:15)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async log (D:\HyperloopCMT-Docusign-node.js\lib\DSJwtAuth.js:181:22)
(Use `node --trace-warnings ...` to show where the warning was created)

appSettings.json 的外观如下:

{
  "dsClientId": "CID",
  "dsClientSecret": "PROD_INT_SECRET",
  "dsJWTClientId": "CID",
  "privateKeyLocation":  "config/private.key",
  "impersonatedUserGuid": "APP_USERNAME_FROM_PRODUCTION",
  "signerEmail": "abc@ex.com",
  "signerName": "XXXX",
  "appUrl": "http://localhost:5000",
  "production": true,
  "debug": true,
  "sessionSecret": "12345",
  "allowSilentAuthentication": true,
  "targetAccountId": true,
}

【问题讨论】:

    标签: docusignapi docusignconnect


    【解决方案1】:

    您似乎已使用值 true 填充了 targetAccountId,我怀疑您希望在其中包含您的实际 DocuSign 帐户 ID。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-08-14
      • 1970-01-01
      • 2020-02-14
      • 2017-11-17
      • 2016-08-15
      • 2018-11-06
      • 2018-07-08
      • 1970-01-01
      相关资源
      最近更新 更多