Closed kwakubiney closed 3 years ago
I followed the docs and got it running.
Added the following to my settings.py
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.sites',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'Sparison',
'allauth',
'allauth.account',
'allauth.socialaccount',
'allauth.socialaccount.providers.spotify',
]
SITE_ID=1
SOCIALACCOUNT_PROVIDERS = {
"spotify": {
"APP": {
"client_id": os.environ.get("SPOTIPY_CLIENT_ID"),
"secret": os.environ.get("SPOTIPY_CLIENT_SECRET")
},
}}
where SPOTIPY_CLIENT_ID
is my Spotify client ID and SPOTIPY_CLIENT_SECRET
is my Spotify client secret. Added these in admin as well.
You must add a SocialApp record per provider via the Django admin containing these app credentials but then it does not show to setup for Spotify.
Any help? Or does it's setup follow one of the listed providers?