Skip to content

Instantly share code, notes, and snippets.

View edwingsm's full-sized avatar

Edwin George Saju edwingsm

View GitHub Profile
@edwingsm
edwingsm / spotify_platform_oauth.sh
Created November 23, 2024 22:34 — 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