Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes to doc and remove unused module
- Loading branch information
Showing
3 changed files
with
53 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
Mixcloud OAuth2 | ||
=============== | ||
|
||
The `Mixcloud API`_ offers support for authorization. | ||
To enable OAuth2 support: | ||
|
||
- Register a new application at `Mixcloud Developers`_ | ||
|
||
- Add Mixcloud backend to ``AUTHENTICATION_BACKENDS`` in settings:: | ||
|
||
AUTHENTICATION_BACKENDS = ( | ||
... | ||
'social_auth.backends.contrib.mixcloud.MixcloudBackend', | ||
) | ||
|
||
- Fill ``Client Id`` and ``Client Secret`` values in the settings:: | ||
|
||
MIXCLOUD_CLIENT_ID = '' | ||
MIXCLOUD_CLIENT_SECRET = '' | ||
|
||
- Similar to the other OAuth backends you can define:: | ||
|
||
MIXCLOUD_EXTRA_DATA = [('username', 'username'), ('name', 'name'), ('pictures', 'pictures'), ('url', 'url')] | ||
|
||
as a list of tuples ``(response name, alias)`` to store user profile data on the UserSocialAuth model. | ||
|
||
|
||
.. _Mixcloud API: http://www.mixcloud.com/developers/documentation | ||
.. _Mixcloud Developers: http://www.mixcloud.com/developers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters