MailChimp¶
Backend class¶
For Django, add this class path to AUTHENTICATION_BACKENDS. For other
integrations, use the same class path in the framework-specific backend
setting.
Backend name |
Class path |
|---|---|
|
|
MailChimp uses OAuth v2 for Authentication, check the official docs.
Create an app by filling out the form here: Add App
Fill
Client IDandClient Secretvalues in the settings:SOCIAL_AUTH_MAILCHIMP_KEY = '<App UID>' SOCIAL_AUTH_MAILCHIMP_SECRET = '<App secret>'
Add the backend to the
AUTHENTICATION_BACKENDSsetting:AUTHENTICATION_BACKENDS = ( ... 'social_core.backends.mailchimp.MailChimpOAuth2', ... )
Then you can start using
{% url social_core:begin 'mailchimp' %}in your templates