Announcements
From 28th September 2026, Community private messages will no longer be available. If you have any private messages you'd like to keep, please save or copy them using these steps before this date. Thank you.

Help Wizard

Step 1

NEXT STEP

client credential flow question

client credential flow question

Hey all,
I just got started with Spotify API and was building a little fun project for me and my friends.

Now lets say im using client credential flow.
It creates an access token and then uses that to pick up a random song from our favourite artists.
After an hour, my app keeps generating the same access token, hence giving the 401 error continously.
I saw that posting from postman creates a new token everytime, but from my app thats not the case.

Any ideas? Is this even possible to be used from several people?
I dont deem it necessary for an auth flow since im just getting random tracks.
Thanks!

Reply
1 Reply

bump?

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/ 5 years ago  in Social & Random