Announcements

Help Wizard

Step 1

NEXT STEP

Permanent Authorization Token for Periodically Api Calls

Permanent Authorization Token for Periodically Api Calls

My Question or Issue:

 

Hello, I'm building a simple website with Flask and Spotipy. Everything is ok for now with the app, but I'm having some problems with the OAuth 2 authorization code flow. My idea was to implement a api function that if the user agreeds, the api would periodically create monthly playlists with the user's top played tracks. But as you may know, after the user access token expires and the refresh token is used, my API need reauthentication after the refresh token expires. 

 

The question is:

Is there a way to get a permanent user authorization, or my app would need reauthentication every time, and if so, how would be the best way for a third-party API to request the user for reauthentication?  

 

 

 

Reply
0 Replies

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random