• ru
  • Language: en
  • Documentation version: 0.1

Mail.ru OAuth

Mail.ru uses OAuth2 workflow. Register new application to use it and fill in settings:

SOCIAL_AUTH_MAILRU_KEY = ''
SOCIAL_AUTH_MAILRU_SECRET = ''

Add social_core.backends.mailru.MRGOAuth2 to AUTHENTICATION_BACKENDS to activate Mail.ru authorization.

Legacy OAuth2 authorization

Also available social_core.backends.mailru.MailruOAuth2 for authorization with connect.mail.ru server.

Create an app and set following settings:

SOCIAL_AUTH_MAILRU_OAUTH2_KEY = ''
SOCIAL_AUTH_MAILRU_OAUTH2_SECRET = ''