social-auth-app-django
Python Social Authentication, Django integration.
What it is and what it does
social-auth-app-django is the Django integration layer for the Python Social Auth ecosystem, enabling applications to add social login and registration via OAuth, OpenID, SAML, and other authentication protocols. It wraps social-auth-core to provide Django-specific functionality, so developers can add third-party authentication without building those integrations from scratch.
The package is designed for Django projects targeting currently supported releases and modern Python versions (3.10, 3.11, 3.12, 3.13, 3.14). It depends on Django, asgiref, and social-auth-core, and is actively maintained with recent releases. Setup is straightforward: install via pip and configure providers. The project focuses on supported Django versions only, so backward compatibility with older releases is not guaranteed.
Use it for:
- Add social login to a Django site without building OAuth flows manually.
- Implement single sign-on (SSO) for enterprise users via SAML or OpenID.
- Allow users to register and log in using existing social media accounts.
- Migrate user authentication from a legacy system to social providers.
- Build a multi-tenant platform where each tenant configures its own social auth providers.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates social authentication and registration into Django applications, supporting OAuth, OpenID, SAML, and other social providers through social-auth-core.
Yes. The package is actively maintained, has no known vulnerabilities, supports current Django and Python versions, and solves a common problem with low install friction. It is a mature, permissively licensed solution suitable for production Django projects. Install it if you need social authentication; skip it only if you are building a custom system or targeting unsupported Django versions.
Install
social-auth-app-django on PyPI
pip
pip install social-auth-app-djangouv
uv add social-auth-app-djangopoetry
poetry add social-auth-app-djangoInstalling social-auth-app-django
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with recent releases; the project targets currently supported Django versions and modern Python versions, so compatibility expectations are clear.
License in practice
BSD-3-Clause is permissive; you may use, modify, and distribute this package freely in commercial and private projects, provided you include the license text and do not hold the authors liable.
Quickstart
pip install social-auth-app-django
import social_auth_app_django
from social_auth_app_django import models
Requires Python >=3.10 and a currently supported Django version; social-auth-core must be installed as a runtime dependency.
Verify before relying
- Specific list of supported OAuth/OpenID/SAML providers beyond the general claim of 'several providers'.
- Whether the package handles provider-specific configuration or if that is delegated entirely to social-auth-core.
- Performance characteristics or rate-limiting behavior when handling many concurrent authentication requests.
- What Django models and views the package provides for integrating social authentication.
Package facts
| License | BSD-3-Clause (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — asgiref, Django, social-auth-core |
| Maintenance | actively maintained — 21 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 5,669,295/month — #2,058 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: social_auth_app_django-6.0.1-py3-none-any.whl
Keywords: django, oauth, openid, saml, social auth
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
django-allauthProvides integrated local and social…
permissive · top 5,000 on PyPI
social-auth-coreProvides a core framework for integrating…
permissive · top 5,000 on PyPI
djoserProvides Django REST Framework views for user…
permissive · top 15,000 on PyPI
django-registrationProvides user registration workflows for Django…
permissive · top 15,000 on PyPI
django-oidc-providerProvides OpenID Connect and OAuth 2.0 server…
permissive · top 15,000 on PyPI
djangosaml2idp2Implements the SAML 2.0 Identity Provider side…
permissive · top 15,000 on PyPI
django-authlibProvides passwordless authentication for Django…
permissive · top 15,000 on PyPI
grafana-django-saml2-authA compatibility shim that redirects to…
permissive · top 15,000 on PyPI
Mastodon.pyPython wrapper for the Mastodon API that lets…
permissive · top 15,000 on PyPI
django-registration-reduxProvides user registration and signup…
permissive · top 15,000 on PyPI