<a id="soundcloud"></a>

# SoundCloud

<a id="backend-class"></a>

## 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                                         |
|----------------|----------------------------------------------------|
| `soundcloud`   | `social_core.backends.soundcloud.SoundcloudOAuth2` |

SoundCloud uses OAuth2 for its auth mechanism.

- Register a new application at [SoundCloud App Registration](http://soundcloud.com/you/apps/new), set your
  application name, website and redirect URI.
- Fill `Client Id` and `Client Secret` values in the settings:
  ```default
  SOCIAL_AUTH_SOUNDCLOUD_KEY = ''
  SOCIAL_AUTH_SOUNDCLOUD_SECRET = ''
  ```
- Also it’s possible to define extra permissions with:
  ```default
  SOCIAL_AUTH_SOUNDCLOUD_SCOPE = [...]
  ```

Possible scope values are \* or non-expiring according to their [/connect
documentation](http://developers.soundcloud.com/docs/api/reference#connect).

Check the rest of their doc at [SoundCloud Developer Documentation](http://developers.soundcloud.com/docs).
