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
The token expires after 24 hours. Improve the app so that it "refreshes" the token for the user, which would result in fewer login screens for the user and a better UX.
The text was updated successfully, but these errors were encountered:
The react-spotify-auth package doesn't offer a refresh_token, which is being requested here by some fellow devs: kevin51jiang/react-spotify-auth#3
If I'm not mistaken, I would need a server-to-server environment to work with a refresh_token from Spotify API to be able to request additional tokens to avoid the annoying situation of having to sign in to the app every two hours. But ReactJS is a client-only application...
So...while this can be achieved using NextJS or similar, it would extend the length of this project beyond the scope of creating playlists based on predefined genres.
I would like to work on the next project instead @scott-coates :)
The token expires after 24 hours. Improve the app so that it "refreshes" the token for the user, which would result in fewer login screens for the user and a better UX.
The text was updated successfully, but these errors were encountered: