1. Request application consent (no need to copy code from redirect link localhost, code is only needed for Auth Code Grant)
https://account-d.docusign. com/oauth/auth?Rresponse_type= code&scope=signature&client_ id=
6e18b0f9-………b0ac2fc5a4d3& redirect_uri=http://localhost/
2. Create a JWT
To authenticate in the JWT Grant flow, you will need to create a JWT containing data on the authentication request, then exchange it for an access token From https://jwt.io/ encode Header and Payload data
Get “iat” from current epoch time from https://www.epochconverter. com/ ,
make sure this is run after step 1
Set “exp” to “iat”+6000
3) Get AccessToken from postman
POST https://account-d.docusign. com/oauth/token
Body:
assertion= {the encoded content from jwt.io}
grant_type =urn:ietf:params:oauth:grant- type:jwt-bearer
4)Same as Auth Code Grant, call API with AccessToken
https://account-d.docusign.
2. Create a JWT
To authenticate in the JWT Grant flow, you will need to create a JWT containing data on the authentication request, then exchange it for an access token From https://jwt.io/ encode Header and Payload data
Get “iat” from current epoch time from https://www.epochconverter.
No comments:
Post a Comment