Docusign Authentication Guide says for system integration I should use JWT Grant. Since I am working on integration with defferent vendors - I have to get Admin consent for external applications. I did it. Then I generated OAuthToken with method RequestJWTApplicationToken (C# SDK). When I try to use this token
apiClient.Configuration.AddDefaultHeader("Authorization", "Bearer " + oAuthToken.access_token);
I receive an error:
{
"errorCode":"AUTHORIZATION_INVALID_TOKEN",
"message":"The access token provided is expired, revoked or malformed. Authentication for System Application failed."
}
Unfortunately all SDK examples are about Individual consent. Does anyone have C# example how to use JWT in case "external applications"?