-
Notifications
You must be signed in to change notification settings - Fork 124
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
Access token refreshing #9
Comments
We are discussing implementing this. The only downfall is that the developer needs the new refresh token to store for future use. We are discussing possible solutions that will accommodate both. |
Oh, so you get back both a new refresh token and access token? |
When you request a new access token, the refresh token you had expires and you get a new refresh token. |
What about auto-refreshing if a callback function is setup for handling saving the new Token? |
Wrong button. We have a few solutions we are looking at but we'll keep that in mind. |
Okay. Will watch the commits for resolution. |
It seems in my reading of the code that I will have to add a try/catch and a loop around every call because of token expiration. Is there a reason the request() function doesn't refresh the access token if it's expired?
The text was updated successfully, but these errors were encountered: