Skip to content

Example code demonstrating how to obtain an access token from a refresh token in the Docusign Auth Code Grant Flow

Notifications You must be signed in to change notification settings

sanjucta/docusign-auth-code-grant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docusign-auth-code-grant

  • To run the example, modify the ds_configuration.js file to put in your docusign integration key and client secret.
  • Run the app : node index.js
  • When you hit the application url (http://localhost:3000) for the first time you will be asked to login to Docusign and provide your consent.
  • On subsequent hits to the url, you will not be asked to log in as the application will use the saved refresh token to obtain an access token.
  • If you delete the refreshTokenFile and hit the url again, you will be asked to login again (once the access token expires). You can test this by hitting the application url in an incongnito window.

About

Example code demonstrating how to obtain an access token from a refresh token in the Docusign Auth Code Grant Flow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published