chorgan182 / PlaylistPreserver

Personal project borne of frustration with Spotify limitations, with the goal of learning Python, API principles, the Spotify Developer hub, and Streamlit.
1 stars 2 forks source link

Add re-auth function #3

Open chorgan182 opened 2 years ago

chorgan182 commented 2 years ago

If a user stays on the page after login for too long, the token expires. I think it is 3600s, 1 hour.

There may be a function in the spotipy library to re-auth. Hopefully, can use the params in the current url and not leave the webpage.