I came across the use case of wanting to instantiate a spotify user solely from a refresh token when restarting an application. This means we can save the refresh token to a config file (or something else) and not need to authenticate with spotify on every restart.
Saving the access token is not enough as it is not valid for very long.
Another use case is that I wanted to be able to access the refresh token after authenticating with spotify via http callback so that only one authentication is required, the refresh token can be saved and later on allow for application restarts without a new OAuth flow.
I came across the use case of wanting to instantiate a spotify user solely from a refresh token when restarting an application. This means we can save the refresh token to a config file (or something else) and not need to authenticate with spotify on every restart. Saving the access token is not enough as it is not valid for very long.
Another use case is that I wanted to be able to access the refresh token after authenticating with spotify via http callback so that only one authentication is required, the refresh token can be saved and later on allow for application restarts without a new OAuth flow.