Skip to main content

Wristband Multi-Tenant Authentication SDK for Python Django

Wristband provides enterprise-ready auth that is secure by default, truly multi-tenant, and ungated for small businesses.

For detailed setup instructions and usage guidelines, visit the project's GitHub repository.

Details

This SDK facilitates seamless interaction with Wristband for user authentication within multi-tenant Django applications. It follows OAuth 2.1 and OpenID standards and is supported for Python 3.10+. Key functionalities encompass the following:

  • Initiating a login request by redirecting to Wristband.
  • Receiving callback requests from Wristband to complete a login request.
  • Retrieving all necessary JWT tokens and userinfo to start an application session.
  • Logging out a user from the application by revoking refresh tokens and redirecting to Wristband.
  • Checking for expired access tokens and refreshing them automatically, if necessary.
  • Function-based view decorators and class-based view mixins for Django authentication.
  • Multi-strategy authentication for API endpoints (sessions + JWTs).
  • Django REST Framework authentication class support for session and JWT bearer token strategies.
  • Authentication backend for syncing Wristband users to Django's User model.
  • Encrypted cookie-based session engine for secure, stateless session management.

You can learn more about how authentication works in Wristband in our documentation:

Questions

Reach out to the Wristband team at support@wristband.dev for any questions regarding this SDK.

Release files for wristband-django-auth 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wristband-django-auth 1.1.0
File Size Uploaded
wristband_django_auth-1.1.0.tar.gz 97.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wristband-django-auth 1.1.0
File Interpreter ABI Platform
wristband_django_auth-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 144.1 kB

Release files / wristband_django_auth-1.1.0.tar.gz

Download URL wristband_django_auth-1.1.0.tar.gz
Size 97.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b845032a7a236700f32b733352becde7a4ad20a168beede37127919f7755066c
BLAKE2b-256 checksum
How to use checksums
314609bab06efb2194c612fed835da14a31ae7b17ecab37124217b4f43820463
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / wristband_django_auth-1.1.0-py3-none-any.whl

Download URL wristband_django_auth-1.1.0-py3-none-any.whl
Size 46.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8d07b5cfb9943eec2e9f3b21591351f87b10abf724c52ed262dc77f6d9fa06db
BLAKE2b-256 checksum
How to use checksums
c894e65bbb64d5fe5862128f0ced0e9e408cab84c9c568c2b1859fd6c7d0dfd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page