/usr/share/doc/python-social-auth-doc/html/_sources/backends/nationbuilder.txt is in python-social-auth-doc 1:0.2.21+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | NationBuilder
=============
`NationBuilder supports OAuth2`_ as their authentication mechanism. Follow these
steps in order to use it:
- Register a new application at your `Nation Admin panel`_ (define the `Callback
URL` to ``http://example.com/complete/nationbuilder/`` where ``example.com``
is your domain).
- Fill the ``Client ID`` and ``Client Secret`` values from the newly created
application::
SOCIAL_AUTH_NATIONBUILDER_KEY = ''
SOCIAL_AUTH_NATIONBUILDER_SECRET = ''
- Also define your NationBuilder slug::
SOCIAL_AUTH_NATIONBUILDER_SLUG = 'your-nationbuilder-slug'
- Enable the backend in ``AUTHENTICATION_BACKENDS`` setting::
AUTHENTICATION_BACKENDS = (
...
'social.backends.nationbuilder.NationBuilderOAuth2'
...
)
.. _Nation Admin panel: https://psa.nationbuilder.com/admin/apps
.. _NationBuilder supports OAuth2: http://nationbuilder.com/api_quickstart
|