Refreshing Tokens Spotify-Web-Api-JS

445 Views Asked by At

How do I indefinitely refresh the access token using JMPerez's web api. I use Spotify's Web API tutorial to get the authorization code flow login. But that login only happens once so I get the access token and refresh token once after logging in. How would I continuously refresh the access token?

For now I just redirect to login page when access token times out

0

There are 0 best solutions below