Skip to main content

Another iteration of fastapi-jwt-auth

Project description

Another FastAPI JWT Auth


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


Background

This was forked from https://github.com/IndominusByte/fastapi-jwt-auth as it is no longer maintained.

This release contains changes related to Pydantic >2 and PyJWT > 2. I used this on my own projects and will be updating it as required. PRs invited.

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 another-fastapi-jwt-auth

License

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

another_fastapi_jwt_auth-0.0.5.tar.gz (11.7 kB view hashes)

Uploaded Source

Built Distribution

another_fastapi_jwt_auth-0.0.5-py3-none-any.whl (12.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page