• ru
  • Language: en
  • Documentation version: 0.1

MailChimp

MailChimp uses OAuth v2 for Authentication, check the official docs.

  • Create an app by filling out the form here: Add App

  • Fill Client ID and Client Secret values in the settings:

    SOCIAL_AUTH_MAILCHIMP_KEY = '<App UID>'
    SOCIAL_AUTH_MAILCHIMP_SECRET = '<App secret>'
    
  • Add the backend to the AUTHENTICATION_BACKENDS setting:

    AUTHENTICATION_BACKENDS = (
        ...
        'social_core.backends.mailchimp.MailChimpOAuth2',
        ...
    )
    
  • Then you can start using {% url social_core:begin 'mailchimp' %} in your templates