Spotify

Backend class

For Django, add this class path to AUTHENTICATION_BACKENDS. For other integrations, use the same class path in the framework-specific backend setting.

Backend name

Class path

spotify

social_core.backends.spotify.SpotifyOAuth2

Spotify supports OAuth 2.

  • Register a new application at Spotify Web API, and follow the instructions below.

OAuth2

Add the Spotify OAuth2 backend to your settings page:

SOCIAL_AUTH_AUTHENTICATION_BACKENDS = (
    ...
    'social_core.backends.spotify.SpotifyOAuth2',
    ...
)
  • Fill App Key and App Secret values in the settings:

    SOCIAL_AUTH_SPOTIFY_KEY = ''
    SOCIAL_AUTH_SPOTIFY_SECRET = ''