Back to directory
python-social-auth avatar

social-app-django

Python Social Auth - Application - Django. Read more below about its uses, features, and usage.

Clone repository

git clone https://github.com/python-social-auth/social-app-django.git

2,148

Stars

393

Forks

27

Watchers

BSD-3-Clause

License

Python Social Auth - Django

Python Social Auth is an easy to setup social authentication/registration mechanism with support for several frameworks and auth providers.

Description

This is the Django component of the python-social-auth ecosystem, it implements the needed functionality to integrate social-auth-core in a Django based project.

Django version

This project will focus on the currently supported Django releases as stated on the Django Project Supported Versions table.

Backward compatibility with unsupported versions won't be enforced.

Documentation

Project documentation is available at https://python-social-auth.readthedocs.io/.

Setup

pip install social-auth-app-django

Contributing

Contributions are welcome!

Only the core and Django modules are currently in development. All others are in maintenance only mode, and maintainers are especially welcome there.

See the CONTRIBUTING.md document for details.

Versioning

This project follows Semantic Versioning 2.0.0.

Security

The threat model documents the security properties and assumptions of this Django integration. To report a vulnerability privately, follow the Python Social Auth security policy.

License

This project follows the BSD license. See the LICENSE for details.

Supporters

Development and maintenance of Python Social Auth are supported by organizations that rely on the project or invest in the sustainability and security of open source.

Current supporters include:

If your organization depends on Python Social Auth, consider joining this effort and helping sustain its development:

Releases

Oct 20, 2026

Download .zip

Added

Support Python 3.15 and Django 6.1.

Changed

Consolidate the Django threat model around integration security boundaries, linking deployment and configuration guidance to the project documentat...

Changed

Require social-auth-core 6.1 for indexed identifier migration without authentication-time JSON searches. Add readable string representations for nonce, association, code, and partial pipeline...

Added

Association.cleanup_expired() removes expired OpenID associations and OIDC nonces. The clearsocial command now includes this cleanup independently of its --age option. Existing undated OIDC no...

Sep 30, 2026

Download .zip

Added

Pass the current Django user to the social-core authentication initiation hook. Added configurable error transport (ErrorTransport.MESSAGES, ErrorTransport.QUERY) via SOCIAL_AUTH_ERROR_TRANSPOR...

Jul 24, 2026

Download .zip

Fixed

Created sessions before authentication so cross-site SAML POST callbacks can restore authentication request IDs.