Overview

Django Allauth 0.57, released on September 15, 2023, prepares Django 5.0 compatibility and improves social providers.

Main Features

Django 5.0 preparation

Django 5.0 deprecations are fixed, ensuring a smooth transition to the next major version.

python
# settings.py
INSTALLED_APPS = [
    'django.contrib.auth',
    'django.contrib.sites',
    'allauth',
    'allauth.account',
    'allauth.socialaccount',
    'allauth.socialaccount.providers.google',
]
SITE_ID = 1

Improved social providers

New providers are added and existing ones are updated for the latest OAuth API versions.

python
# settings.py
SOCIALACCOUNT_PROVIDERS = {
    'google': {
        'SCOPE': ['profile', 'email'],
        'AUTH_PARAMS': {'access_type': 'online'},
        'APP': {
            'client_id': 'CLIENT_ID',
            'secret': 'SECRET',
        },
    }
}

Sources