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/whereexample.comis your domain).Fill the
Client IDandClient Secretvalues 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_BACKENDSsetting:AUTHENTICATION_BACKENDS = ( ... 'social_core.backends.nationbuilder.NationBuilderOAuth2' ... )