How to refresh token every 5 minutes using api-sauce. Anyone here has implemented that?
After the token expires, you’ll need to request a new token using the refresh token . Then, you need to use the freshly retrieved token for the next API requests.
If you wait till after “token expires” your API call will give you an error. You have to refresh your token before it expires.
How do you request a new token? Can you please share your code snippet?