Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing feature: generate access token using refresh token #212

Open
davidsubskribe opened this issue Oct 21, 2021 · 5 comments
Open

Missing feature: generate access token using refresh token #212

davidsubskribe opened this issue Oct 21, 2021 · 5 comments

Comments

@davidsubskribe
Copy link

davidsubskribe commented Oct 21, 2021

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.

@mmallis87
Copy link
Contributor

@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.

@jglassenberg
Copy link

@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.

@prowave
Copy link

prowave commented Jun 13, 2024

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?

@prowave
Copy link

prowave commented Jun 13, 2024

There is a PR for this just waiting for review and merging.

#202

@SkanderMansouri
Copy link

@jglassenberg can we have an update for this one, it doesn't make sense to implement a REST client just for the refresh token call 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants