Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/indominusbyte/fastapi-jwt-auth
FastAPI extension that provides JWT Auth support (secure, easy to use, and lightweight)
https://github.com/indominusbyte/fastapi-jwt-auth
authorization fastapi fastapi-extension fastapi-jwt jwt python3
Last synced: 4 days ago
JSON representation
FastAPI extension that provides JWT Auth support (secure, easy to use, and lightweight)
- Host: GitHub
- URL: https://github.com/indominusbyte/fastapi-jwt-auth
- Owner: IndominusByte
- License: mit
- Created: 2020-07-23T09:40:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-12T06:58:02.000Z (9 months ago)
- Last Synced: 2025-01-16T21:06:02.373Z (4 days ago)
- Topics: authorization, fastapi, fastapi-extension, fastapi-jwt, jwt, python3
- Language: Python
- Homepage: http://indominusbyte.github.io/fastapi-jwt-auth/
- Size: 795 KB
- Stars: 670
- Watchers: 8
- Forks: 158
- Open Issues: 62
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: docs/contributing.md
- License: LICENSE
Awesome Lists containing this project
README
FastAPI JWT Auth![Tests](https://github.com/IndominusByte/fastapi-jwt-auth/workflows/Tests/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/IndominusByte/fastapi-jwt-auth/badge.svg?branch=master)](https://coveralls.io/github/IndominusByte/fastapi-jwt-auth?branch=master)
[![PyPI version](https://badge.fury.io/py/fastapi-jwt-auth.svg)](https://badge.fury.io/py/fastapi-jwt-auth)
[![Downloads](https://static.pepy.tech/personalized-badge/fastapi-jwt-auth?period=total&units=international_system&left_color=grey&right_color=brightgreen&left_text=Downloads)](https://pepy.tech/project/fastapi-jwt-auth)---
**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```bash
pip install fastapi-jwt-auth
```If you want to use asymmetric (public/private) key signing algorithms, include the asymmetric extra requirements.
```bash
pip install 'fastapi-jwt-auth[asymmetric]'
```## License
This project is licensed under the terms of the MIT license.