Closed bundyfx closed 5 years ago
Sorry for the delay in getting back to you.
The client credentials auth flow is used to machine-to-machine communication. A user is not in the loop, so tokens obtained with this flow cannot access user data. It's generally used just to get a higher rate limit.
This is documented here: https://developer.spotify.com/documentation/general/guides/authorization-guide/#client-credentials-flow
Only endpoints that do not access user information can be accessed.
You'll need to use one of the other grant types if you want to access user data.
Hello!
Simply trying to retrieve the current playing song, feel like I am running into a wall with understanding the auth mechanisms here. Maybe it is that to get the currently playing song of my own account it is considered private data? and thus client credentials don't allow it?
The error here is Invalid username
Any help would be appreciated.
Cheers!