I have a Node.js application where I create a DocuSign envelope. Currently, I use the Authorization Code Grant flow to manually obtain the access token and refresh token. However, the refresh token expires every 30 days if not used. Is there an alternative method that would allow me to avoid manually generating a new access token and logging in each time the refresh token expires?
Instead of using the Authorization Code Grant flow, which requires user interaction and has refresh tokens that expire after 30 days of inactivity, you can use the JWT (JSON Web Token) Grant authentication flow.
Since JWT tokens are short-lived, your application should automatically request a new one when needed
Instead of using the Authorization Code Grant flow, which requires user interaction and has refresh tokens that expire after 30 days of inactivity, you can use the JWT (JSON Web Token) Grant authentication flow.
Since JWT tokens are short-lived, your application should automatically request a new one when needed
Can you share some resource/docs for implementing jwt in nodejs?
Do I need to create a new app with JWT (JSON Web Token) Grant? Or can I change the existing application to use JWT?
Reply
Sign up
Already have an account? Login
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.
Customer Login/Registration Developer Login/RegistrationDocusign Community
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.
Customer Login/Registration Developer Login/RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.