Django social profile authentication: OAuth providers, optional two-factor auth, session hardening, and a customizable user profile.
- Social login via python-social-auth without building provider wiring from scratch
- Extended user profile (avatar, contact fields, preferences)
- Optional TOTP / two-factor authentication
- Login monitoring and session listing helpers
- OAuth2 toolkit and DRF-friendly token surfaces
- Optional dual-write to django-party external identities (
[party]extra)
- Python 3.10+
- Django 3.2+ (4.2+ recommended)
pip install django-spOptional Party identity sync:
pip install "django-sp[party]"INSTALLED_APPS = [
# ...
"socialprofile",
]
urlpatterns = [
path("sp/", include("socialprofile.urls")),
]python manage.py migrateConfigure OAuth backends and site settings as described in the documentation.
- Docs: https://dlrsp.github.io/django-sp/
- PyPI: https://pypi.org/project/django-sp/
- Source: https://github.com/DLRSP/django-sp
MIT