Announcements

Help Wizard

Step 1

NEXT STEP

[API] Option to get access tokens with a quicker expiry

[API] Option to get access tokens with a quicker expiry

Currently, I am debugging some issues with my token refreshing, and having to wait an hour or more before my code can be tested. A simple fix to this would be to simply add an `expires` field to the `https://accounts.spotify.com/api/token` endpoint, which overrides the default hour long expiry (ignored if > 3600 obviously)

This isn't a must have feature, but moreso a QOL feature to test token expiry time.

Reply
2 Replies

Hi @afterlifepro 

What is the exact issue with refreshing a token?

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

The specific issue isn't important nor relevant as its specific to my codebase, however the fact that I have to wait at least an hour before I can get any feedback as to if my code works which is incredibly frustrating

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