Skip to content

Commit

Permalink
Port PR #1012 from s-alexey
Browse files Browse the repository at this point in the history
  • Loading branch information
omab committed Dec 3, 2016
1 parent ea36274 commit 415dc3d
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased](https://github.com/python-social-auth/social-docs/commits/master)

### Added
- Added Quizlet backend (port from [#1012](https://github.com/omab/python-social-auth/pull/1012)
by s-alexey)

### Changed
- Updated Dropbox backend (port from [#1018](https://github.com/omab/python-social-auth/pull/1018)
by illing2005)
Expand Down
1 change: 1 addition & 0 deletions docs/backends/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ Social backends
podio
qiita
qq
quizlet
rdio
readability
reddit
Expand Down
22 changes: 22 additions & 0 deletions docs/backends/quizlet.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Quizlet
=======

Quizlet uses OAuth v2 for Authentication.

- Register a new application at the `Quizlet API`_, and

- Add the Quizlet backend to ``AUTHENTICATION_SETTINGS``::

AUTHENTICATION_SETTINGS = (
...
'social_core.backends.quizlet.QuizletOAuth2',
...
)

- fill ``Client Id`` and ``Client Secret`` values in the settings::

SOCIAL_AUTH_QUIZLET_KEY = ''
SOCIAL_AUTH_QUIZLET_SECRET = ''
SOCIAL_AUTH_QUIZLET_SCOPE = ['read', 'write_set'] # 'write_group' is also available

.. _Quizlet API: https://quizlet.com/api-dashboard

0 comments on commit 415dc3d

Please sign in to comment.