-
Notifications
You must be signed in to change notification settings - Fork 215
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
Auth0 class missing action to renew access token #234
Comments
If you need to get a
We're reviewing the README here currently and will include some extra information about this 👍 |
@joshcanhelp This is not about receiving id or refresh token. This is about ability to use the refresh_token to refresh the access_token. There is not a method to do that with a ready-setup Auth0.php instance, and the Authentication object is private inside the class. |
Sorry @jspetrak, I didn't read that correctly. The next section down in the Refresh Token guide I sent has instructions (for anyone that is looking for a how-to): https://auth0.com/docs/tokens/refresh-token/current#use-a-refresh-token I agree, though, the SDK should have a method to handle that. I'll reopen and assign to myself. Thank you! |
Perfect, thank you! |
I have the same problem. I need to get a user list from the Management class and the token gets invalid every 24 hours. |
@d0cm0d - Actually, this is regarding a refresh token for a user session, not the Management API. The token you're generating can be given a longer expiration date when you create it (make sure to limit your scopes to only the ones you need and keep that very safe) or you can authorize your Application for that Management API and do a Client Credentials Grant. If you need more assistance there, please work with our awesome support team. |
@joshcanhelp How about this implementation? #257 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Auth0
class has anAuthentication
object instantiated internally. It is supposed to call this API with current session data like access/id/refresh token and perform the operations.However the action to renew access token with refresh token is missing.
The text was updated successfully, but these errors were encountered: