jq
- Your own Spotify Client ID and Client Secret
Store your Client ID in ~/.config/spotify_client_creds.json
. It should look like:
{
"id": "",
"secret": ""
}
Add client_creds
and authorization_code
to your path, however you like. I like storing them in ~/.local/bin
and adding that directory to my path.
Store your credentials on your filesystem as shown above. You have full disk encryption turned on, right?
If you want to do user authentication, you should make sure that your app has whitelisted http://localhost:8082/
as a redirect URI.
client_creds
for client-only credentials
authorization_code
for user login credentials
Found a bug? Well volunteered! I look forward to reviewing your patch.