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

Feature request: add support for the /delegation API #48

Closed
bradleybuda opened this issue Mar 24, 2017 · 1 comment
Closed

Feature request: add support for the /delegation API #48

bradleybuda opened this issue Mar 24, 2017 · 1 comment
Labels
feature request A feature has been asked for or suggested by the community

Comments

@bradleybuda
Copy link

I'd like to use this SDK to obtain an access_token for a refresh_token - it looks like in Auth0 this is done with the /delegation API. Is it possible to add that to the Java SDK so I don't have to roll my own implementation? Thanks!

@lbalmaceda
Copy link
Contributor

Hi @bradleybuda.
I'll mark it as a feature request. In the meantime you can make a POST request to the /oauth/token endpoint with the following body:

{
   "grant_type":"refresh_token",
   "client_id":"YOUR_CLIENT_ID",
   "refresh_token":"YOUR_REFRESH_TOKEN"
}

@lbalmaceda lbalmaceda added the feature request A feature has been asked for or suggested by the community label Mar 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A feature has been asked for or suggested by the community
Projects
None yet
Development

No branches or pull requests

2 participants