You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having a problem updating my Oauth.io request object with a new access token. I am able to successfully get a new access token using my refresh token from spotify/youtube but my new token expires when the original token was supposed to expire. Below is the flow I am experiencing:
User logs in and an access token and refresh token are received by my app in the callback
Refresh token is sent to my server to be stored
Use the refresh token server-side to obtain a new access token every x minutes (currently using 10min)
Send the new access token to the client side
Update the access_token field in the oauth.io request object
conduct new api requests
The new access tokens will work all the way up until the time the original token expired. Not sure why this is happening. Is there something else I need to do to update the request object? Thanks a ton for any help you can offer. This is the last thing before I work to release my app!
The text was updated successfully, but these errors were encountered:
I am having a problem updating my Oauth.io request object with a new access token. I am able to successfully get a new access token using my refresh token from spotify/youtube but my new token expires when the original token was supposed to expire. Below is the flow I am experiencing:
The new access tokens will work all the way up until the time the original token expired. Not sure why this is happening. Is there something else I need to do to update the request object? Thanks a ton for any help you can offer. This is the last thing before I work to release my app!
The text was updated successfully, but these errors were encountered: