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

Cannot refresh access token with refresh token. #111

Closed
eriksandfort opened this issue Apr 16, 2018 · 1 comment
Closed

Cannot refresh access token with refresh token. #111

eriksandfort opened this issue Apr 16, 2018 · 1 comment
Milestone

Comments

@eriksandfort
Copy link

eriksandfort commented Apr 16, 2018

It would appear the login function in authentication_endpoints.rb, which POSTs to oauth/token does not appear to allow for an optional refresh token field.

According to the Auth0 docs, this endpoint is also used to get a new access token via refresh token if one is available (using refresh_token in the grant_field option as well as providing the refresh_token as a top level param).

To me, this means that there is no way to use a refresh token to get a new access token with this API wrapper.

Is this correct?

@joshcanhelp
Copy link
Contributor

Apologies for the late reply here ... yes, that is correct in the current implementation. We're currently overhauling the auth endpoints module here, though, and will make sure to add the capability to do that.

@joshcanhelp joshcanhelp added this to the v4.6.0 milestone Dec 5, 2018
@stale stale bot added the closed:stale Issue or PR has not seen activity recently label Oct 26, 2019
@auth0 auth0 deleted a comment from stale bot Oct 28, 2019
@joshcanhelp joshcanhelp removed the closed:stale Issue or PR has not seen activity recently label Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants