【问题标题】:Refresh DocuSign access token in Appian connected system在 Appian 连接系统中刷新 DocuSign 访问令牌
【发布时间】:2021-12-05 15:20:31
【问题描述】:

我使用 Authenticate Code Grant 创建了一个应用程序 Connected System 用于 DocuSign 身份验证。我能够成功验证并点击 API。但问题是我的令牌每 8 小时过期一次,然后我必须再次从 Connected System 文件中进行身份验证。 请帮助我了解如何在令牌过期/即将过期时刷新令牌。

【问题讨论】:

    标签: docusignapi appian


    【解决方案1】:

    我可以解释如何使用刷新令牌来生成新的访问令牌。 但是,这对于 Appian 可能是不可能的,我不确定,因为我不确定 Appian 是如何工作的。

    首先,您必须存储使用 Auth Code Grant 获取过期的原始 access_token 时获得的 refresh_token。该令牌可用于稍后获取另一个 access_token

    要获取新的访问令牌,请像使用授权代码一样使用 refresh_token,但 grant_type 值为 refresh_tokenrefresh_token 参数保存 refresh_token 的内容。

    Read more in this Developer Center page

    【讨论】:

      猜你喜欢
      • 2019-06-29
      • 2020-07-12
      • 1970-01-01
      • 2021-11-23
      • 2019-01-13
      • 2018-08-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多