Skip to main content
PyCon US is happening May 14th-22nd in Pittsburgh, PA USA.  Learn more

No project description provided

Project description

FastAPI Another JWT Auth

Tests Coverage Status PyPI version Downloads


The project is based on Fastapi-jwt-auth that is no longer maintained.

Documentation: https://GlitchCorp.github.io/fastapi-another-jwt-auth

Source Code: https://github.com/GlitchCorp/fastapi-another-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-another-jwt-auth

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

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

License

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

Supported by

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