Announcements
Happy Values Week! Today we celebrate *Team Work* in the Spotify Stars Program!

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Auto Logout from Custom App Using Spotify OAuth2

Auto Logout from Custom App Using Spotify OAuth2

Hi everyone,

 

I have a Django application that uses Spotify OAuth2 for user login. The token refresh mechanism is implemented, and I’m generally able to stay logged in for extended periods.

 

However, occasionally, Spotify logs me out and prompts me to click the “Allow” button again before accessing the main page.

 

Does anyone know why this might be happening and how to prevent it?

 

Thanks in advance!

 

Reply
0 Replies

Suggested posts