docusign-esign-node-client
docusign-esign-node-client copied to clipboard
Cannot find a method to refresh an access token
There is the generateAccessToken method of the ApiClient for generating an access token from the authorization code.
There is also the platform documentation's "Use refresh tokens" section that says that changing the grant_type from authorization_code to refresh_token and supplying a refresh_token instead of code param should make the same flow work for refreshing one.
There is however no way that I can see to refresh a token with the available methods in this package.
- Am I just missing it?
- Is it not included for a reason? (the php client seems to have it, the java client seems to be also missing it)
- Can we add it? If so, made PR #282 for it.
Hello @Chee7ah thank you for reaching out on this topic. We are looking into extending this feature across all of our SDKs