The auth token expiry value given by Spotify OAuth is currently not being used. A token is refreshed when a request is sent to Spotify and denied due to it being an expired token.
An interceptor should be created to check if the token is expired, or within some expiry threshold, to then request a new auth token from Spotify, and continue the initial request with the new auth token in the headers.
The auth token expiry value given by Spotify OAuth is currently not being used. A token is refreshed when a request is sent to Spotify and denied due to it being an expired token.
An interceptor should be created to check if the token is expired, or within some expiry threshold, to then request a new auth token from Spotify, and continue the initial request with the new auth token in the headers.