mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 01:03:53 +00:00
Add redirect_uri (#529)
And specify that it should be the address that the App runs over.
This commit is contained in:
parent
2bfa7e0151
commit
7eb0eaaebc
@ -5,6 +5,7 @@ Prerequisites
|
||||
|
||||
export SPOTIPY_CLIENT_ID=client_id_here
|
||||
export SPOTIPY_CLIENT_SECRET=client_secret_here
|
||||
export SPOTIPY_REDIRECT_URI='http://127.0.0.1:8080' // added to your [app settings](https://developer.spotify.com/dashboard/applications)
|
||||
// on Windows, use `SET` instead of `export`
|
||||
|
||||
Run app.py
|
||||
@ -53,4 +54,4 @@ def playlists():
|
||||
if not session.get('token_info'):
|
||||
return redirect('/')
|
||||
else:
|
||||
return spotify.current_user_playlists()
|
||||
return spotify.current_user_playlists()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user