1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
Moves
=====
Moves_ provides an OAuth2 authentication flow. In order to enable it:
- Register an application at `Manage Your Apps`_, remember to fill the
``Redirect URI`` once the application was created.
- Fill **Client ID** and **Client secret** in the settings::
SOCIAL_AUTH_MOVES_KEY = ''
SOCIAL_AUTH_MOVES_SECRET = ''
- Define the mandatory scope for your application::
SOCIAL_AUTH_MOVES_SCOPE = ['activity', 'location']
The scope parameter is required by Moves_ but the backend doesn't set
a default one to minimize the application permissions request, so it's
mandatory for the developer to define this setting.
- Add the backend to the ``AUTHENTICATION_BACKENDS`` setting::
AUTHENTICATION_BACKENDS = (
...
'social.backends.moves.MovesOAuth2',
...
)
.. _Moves: http://moves-app.com/
.. _Manage Your Apps: https://dev.moves-app.com/apps
|