Skip to main content

FastAPI JWT Auth

Tests Coverage Status PyPI version Downloads


Documentation: https://indominusbyte.github.io/fastapi-jwt-auth

Source Code: https://github.com/IndominusByte/fastapi-jwt-auth


Features

FastAPI extension that provides JWT Auth support (secure, easy to use and lightweight), if you were familiar with flask-jwt-extended this extension suitable for you, cause this extension inspired by flask-jwt-extended 😀

  • Access tokens and refresh tokens
  • Freshness Tokens
  • Revoking Tokens
  • Support for WebSocket authorization
  • Support for adding custom claims to JSON Web Tokens
  • Storing tokens in cookies and CSRF protection

Installation

The easiest way to start working with this extension with pip

pip install fastapi-jwt-auth

If you want to use asymmetric (public/private) key signing algorithms, include the asymmetric extra requirements.

pip install 'fastapi-jwt-auth[asymmetric]'

License

This project is licensed under the terms of the MIT license.

Metadata

Release files for fastapi-jwt-auth-md 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 fastapi-jwt-auth-md 1.1.0
File Size Uploaded Provenance Actions
fastapi_jwt_auth_md-1.1.0.tar.gz 49.3 kB Without provenance Details for fastapi_jwt_auth_md-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fastapi-jwt-auth-md 1.1.0
File Interpreter ABI Platform Actions
fastapi_jwt_auth_md-1.1.0-py3-none-any.whl Python 3 none any Details for fastapi_jwt_auth_md-1.1.0-py3-none-any.whl

Total release size: 61.8 kB

Release files / fastapi_jwt_auth_md-1.1.0.tar.gz

Download URL fastapi_jwt_auth_md-1.1.0.tar.gz
Size 49.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8ae8f2e65171d3e7aa8bf2d2d72a4cf6bb8b85aa22b4952b2715ebea1d0af12f
BLAKE2b-256 checksum
How to use checksums
fec0bdc2a23857c2480d483a175b65a0defee30c95b5f1856b8ce356c990a21d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

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

Download URL fastapi_jwt_auth_md-1.1.0-py3-none-any.whl
Size 12.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
16c352ff6fcae064598cbf965e3e357068d582a94c05a1ef8a9b3ef4c6cf6dd5
BLAKE2b-256 checksum
How to use checksums
77116af8e1c51f23a97ab24db5822eeaf4adf51c8b3ec405da7ec2dc65a337a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Security for fastapi-jwt-auth-md 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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