Help Wizard

Step 1

NEXT STEP

Auth token expiring every hour

Auth token expiring every hour

Dear Sir/Mam,

 

I am trying to build an flutter app based on Spotify APIs. I am using this library "https://pub.dev/packages/spotify_sdk" to get Auth token and suing that token in Web-API to fetch playlists etc. Also I will be playing music using the same SDK. Now, I am facing an issue that my auth token is getting expired every hour as it is Spotify policy. I've done some R & D and found that I am suppose to get refresh token if I want my token to live longer but it also states that I need to get auth token using web API only. Now if I do this, I won't be able to get privilege of flutter sdk "https://pub.dev/packages/spotify_sdk" methods to play music, etc. Could you please suggest what's best for me?

 

Yours faithfully

Aman Dewett

Reply
0 Replies

Suggested posts