Skip to content

Instantly share code, notes, and snippets.

@camwhite
camwhite / spotify_platform_oauth.sh
Last active July 19, 2017 09:35 — forked from hughrawlinson/spotify_platform_oauth.sh
Authenticate and get an oauth token for your Spotify app from the command line
#!/bin/bash
# spotify_platform_oauth.sh
#
# A script to quickly and easily generate Spotify oauth tokens given a client
# id, secret, and scope. Will authenticate a user via the browser.
# The app must have "http://localhost:8082/' as a redirect_uri
# spotify_client_creds.json should contain a spotify client id and secret pair