NationBuilder¶
NaszaKlasa supports OAuth2 as their authentication mechanism. Follow these steps in order to use it:
Register a new application at your NK Developers (define the Callback URL to
http://example.com/complete/nk/
whereexample.com
is your domain).Fill the
Client ID
andClient Secret
values from the newly created application:SOCIAL_AUTH_NK_KEY = '' SOCIAL_AUTH_NK_SECRET = ''
Enable the backend in
AUTHENTICATION_BACKENDS
setting:AUTHENTICATION_BACKENDS = ( ... 'social_core.backends.nk.NKOAuth2', ... )