Framework-agnostic Python SDK for validating JWT access tokens issued by Wristband.
Project description
Wristband Framework-Agnostic JWT Validation SDK for Python
Wristband provides enterprise-ready auth that is secure by default, truly multi-tenant, and ungated for small businesses.
- Website: Wristband Website
- Documentation: Wristband Docs
For detailed setup instructions and usage guidelines, visit the project's GitHub repository.
Details
This SDK provides secure JWT validation capabilities for applications using Wristband authentication. It is framework-agnostic and works with FastAPI, Flask, Django, and other Python web frameworks. The SDK follows OWASP security best practices and is supported for Python 3.9+. Key functionalities include:
- Extracting Bearer tokens from HTTP Authorization headers.
- Validating JWT signatures using Wristband's JWKS endpoint.
- Verifying token claims including issuer, expiration, and algorithm allowlisting to prevent common JWT vulnerabilities.
- Automatic JWKS key caching and rotation for optimal performance.
- Comprehensive error handling with detailed validation messages.
You can learn more about JWTs in Wristband in our documentation:
Questions
Reach out to the Wristband team at support@wristband.dev for any questions regarding this SDK.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wristband_python_jwt-0.1.2.tar.gz.
File metadata
- Download URL: wristband_python_jwt-0.1.2.tar.gz
- Upload date:
- Size: 34.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0af38e58323751336e5432198fb6aaddd851d4064464ce916625c6e8793eb00f
|
|
| MD5 |
191c1e802d1d1c48816993b43a2348eb
|
|
| BLAKE2b-256 |
eb923e1a372b0aceb100584185d53c60ed93b523722a171024ec55a4634a5072
|
File details
Details for the file wristband_python_jwt-0.1.2-py3-none-any.whl.
File metadata
- Download URL: wristband_python_jwt-0.1.2-py3-none-any.whl
- Upload date:
- Size: 20.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7129307356d2ab07265ca375516a7c27c6e470a6c6679874f404099128674ab1
|
|
| MD5 |
e6fab943739ef1a8598bd44a44f9ce5e
|
|
| BLAKE2b-256 |
cfc14562f7bedead438ef7446591275caaa3c7c1dd29ef11123502893c9dfbbe
|