Skip to content
DLRSPPublic

About

Django application for custom Social Profile Auth and User model.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

django-sp

CI License: MIT PyPI version Docs

Django social profile authentication: OAuth providers, optional two-factor auth, session hardening, and a customizable user profile.

Why use it

  • 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)

Requirements

  • Python 3.10+
  • Django 3.2+ (4.2+ recommended)

Install

pip install django-sp

Optional Party identity sync:

pip install "django-sp[party]"

Quickstart

INSTALLED_APPS = [
    # ...
    "socialprofile",
]

urlpatterns = [
    path("sp/", include("socialprofile.urls")),
]
python manage.py migrate

Configure OAuth backends and site settings as described in the documentation.

Documentation

License

MIT

About

Django application for custom Social Profile Auth and User model.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages