I know it's recommended to use Authorization Coe Grant, but I'm running into authentication issues when I try to implement JWT auth.
try
{
_docusignAuthenticationService.AuthenticateFromJwt();
}
catch (ApiException apiExp)
{
// Consent for impersonation must be obtained to use JWT Grant
if (apiExp.Message.Contains("consent_required"))
{
return Redirect(BuildConsentURL());
}
}
private string BuildConsentURL()
{
return "https://account-d.docusign.com/oauth/auth" + "?response_type=code" +
"&scope=signature%20impersonation" +
"&client_id=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" +
"&redirect_uri=" + "http://localhost:63849";
}
Am I missing a step in configuring my account to use JWT?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…