I tried to follow these page to get the access token from JWT.
this is what i do
- follow this link https://account-d.docusign.com/oauth/auth?response_type=code&scope=impersonation signature click.manage click.send&client_id=xxxxxxxxxxxxxx&redirect_uri=http://localhost
- Click allow access
- Got redirected through http://localhost/?code=JWT_TOKEN_TO_BE_COPIED
- I copied the code from above query params
- Then curl by
curl --location 'https://account-d.docusign.com/oauth/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer' \
--data-urlencode 'assertion=JWT_TOKEN_TO_BE_COPIED' - Instead i got this response
{
"error": "invalid_grant",
"error_description": "user_not_found"
}
Could you guys help
Thank you