【发布时间】:2019-09-25 16:43:59
【问题描述】:
我们有这个实现,我们在 API 中创建了两个信封,并在第二个信封的 redict URI 的位置添加了第一个信封的 URI,它在 9 月 23 日之前工作正常,但是从一个信封到另一个信封的重定向停止工作.
下面是代码的解释:
RecipientViewRequest financeManagerViewOptions = new RecipientViewRequest
{
ReturnUrl = returnViewURL,
ClientUserId = "Finance12345",
AuthenticationMethod = "none",
UserName = FinanceManagerName,
Email = FinanceManagerEmail
};
//this is the second envelope, and we used this envelope's URL as the returnURL of the second envelope
financeManagerviewUrl = docusignAPI.CreateRecipientView(AccountId, result.EnvelopeId, financeManagerViewOptions);
//here we are creating the second envelope and assigning the first envelope's URL to its returnURL
RecipientViewRequest viewOptions = new RecipientViewRequest
{
ReturnUrl = financeManagerviewUrl.Url,
ClientUserId = inspection.CustomerId.ToString(),
AuthenticationMethod = "none",
UserName = inspection.CustomerName,
Email = inspection.CustomerEmail,
};
// url of second evelope that is supposed to be signed first
viewUrl = docusignAPI.CreateRecipientView(AccountId, result.EnvelopeId, viewOptions);
现在奇怪的是,如果我们直接在浏览器中打开第一个信封 URL,它可以正常工作,它还会将我们重定向到正确的 URL,所以第一个信封的返回 URL 也可以正常工作。
但是当我们将第二个信封重定向到第一个信封的 URL 时,它会向我们显示这个错误,这对我们来说很奇怪:
同样,这在几天前工作正常,直接在浏览器中打开第一个信封的 URL 让我们进行签名,但返回 URL 中的相同 URL 不会打开新的签名会话,对此有任何帮助非常感谢。
【问题讨论】:
标签: .net asp.net-core docusignapi asp.net-core-webapi