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
There is a refresh token and an access token in the Oauth2 system. The access token is used for validation
and the refresh token is used to fetch the access token. Access tokens usually expire after a given timeframe.
Getting the access token
A local server listening to http://localhost:41372/login_callback (or any other callback link set in the api portal) needs to set up to get the code required for
posting to get the refresh token.
Summary
App redirects user to spotify login page for authorization
From here a post request needs to be made(by the app) to get the refresh token. This refresh token can be used indefinitely to request an
access token. Access token is used for api calls.
If there is an error with the refresh token, go back to step 1 to have to user login again.