drshrey / spotify-flask-auth-example

Walkthrough of Authorization Code Flow using Flask and Python, with the Spotify API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Authorization Code Flow Walkthrough

How to do an authorization code flow, through Flask and Python.

##Step 1 Fill in your credentials in main.py. This includes the CLIENT_ID and CLIENT_SECRET, which is left blank. You can obtain this by going to Spotify Developers.

##Step 2 Be sure that your redirect uri, inside your application page in the Spotify Developers website is "http://127.0.0.1:8080/callback/q".

##Step 3 To see that it works, simply run the application by running '''python main.py''', and point your browser to http://127.0.0.1:8080.

About

Walkthrough of Authorization Code Flow using Flask and Python, with the Spotify API.


Languages

Language:Python 96.9%Language:HTML 3.1%