@Harish reddy
The JWT generation is a 2 step process to create and obtain an access token, as described here. There is no need for any manual steps in the generation to prepare the JWT JSON. You can and should automate all fields like start time and expiration so there is no manual step involved after it has been set up.
The initial consent step is only once and can be removed for the users if you add it as Trusted App in the Admin area.
Hi @Michael.Rave ,
Is there any rest API available to generate JWT token from JWT JSON having user credentials , public and private keys, start and expiration times.
@Harish reddy
Have you checked the Quickstart and various SDKs available? You can generate JWT token via Postman, C#, Java, PHP, etc.
Hi @Harish reddy to add to Michael’s reply, all SDK’s provide a function/method that allows to get JWT token from a single call. For example the C# SDK method is RequestJWTUserToken
https://github.com/docusign/docusign-esign-csharp-client/blob/master/sdk/src/DocuSign.eSign/Client/DocuSignClient.cs#L925C33-L925C52
I hope this helps
Thank you @Michael.Rave , @Ivan.Dinkov ,
I need to generate token using postman/http requests only.
@Harish reddy
You can download the Docusign Postman Collection for eSignature here. Under “Authentication” you will find the required calls to generate the JWT token.
Not sure if there is code library where i can refer Azure function implementation for generation of DocuSign JWT access token generation, @Michael.Rave and @Ivan.Dinkov can you please help me with that