Missing feature: generate access token using refresh token
Hi,
I realize this is more a feature request than an issue, but the missing feature forced us to write a HTTP client to call the DocuSign REST API directly (which IMHO defeats the purpose of having an SDK client 😅).
The current ApiClient class supports generateAccessToken() which only supports the initial flow of using grant_type: authorization_code and asking user for consent. After the initial consent, I would expect users to not have to grant consent and be redirected each time the current access token expires (which only lasts up to 8 hours).
Please let us know if this feature is already in the works 🙂.
Thank you.
@davidsubskribe this is something we knew we had to do but it never got prioritized until recently. There is an internal ticket to add it to Java SDK as well as to all our other official SDKs. @jglassenberg might be able to talk more about that.
@davidsubskribe Thanks for sharing this feedback. This feature has been of interest for us, but we don't have an ETA to implement it at this time.
This is a must have for oauth so that the user doesn't have to login everytime an accessToken Expires.
Any update on timeline for this one?
There is a PR for this just waiting for review and merging.
https://github.com/docusign/docusign-esign-java-client/pull/202