Skip to content

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

Notifications You must be signed in to change notification settings

drshrey/spotify-flask-auth-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published