Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/developers/devel-env.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Update the ``LASTFM_API_KEY`` field with your Last.fm API key.
You also need to update the ``API_URL`` field value to ``http://localhost:8100``.

To use the Spotify importer you need to register an application on the
`Spotify Developer Dashboard`_. Use ``http://localhost:8100/settings/music-services/spotify/callback/``
`Spotify Developer Dashboard`_. Use ``https://127.0.0.1:8100/settings/music-services/spotify/callback/``
as the callback URL.

After that, fill out the Spotify client ID and client secret in the following
Expand Down
3 changes: 2 additions & 1 deletion listenbrainz/config.py.sample
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ WHITELISTED_AUTH_TOKENS = []
# SPOTIFY
SPOTIFY_CLIENT_ID = 'needs a non empty default value for tests, change this'
SPOTIFY_CLIENT_SECRET = 'needs a non empty default value for tests, change this'
SPOTIFY_CALLBACK_URL = f'{SERVER_ROOT_URL}/settings/music-services/spotify/callback/'
# Note: Spotify now requires the redirect url to use 127.0.0.1 instead of 'localhost', not using SERVER_ROOT_URL for that reason
SPOTIFY_CALLBACK_URL = 'http://127.0.0.1:8100/settings/music-services/spotify/callback/'

# SPOTIFY-CACHE
SPOTIFY_CACHE_CLIENT_ID = 'needs a non empty default value for tests, change this'
Expand Down
Loading