Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/astralmortem/fastauth
Here’s a ready-to-use, customizable solution for FastAPI with Authentication, Authorization (RBAC), and OAuth2 support. This solution provides token based authentication(JWT, Redis, DB), role-based access control, and OAuth2 integration.
https://github.com/astralmortem/fastauth
authentication authorization fastapi jwt jwt-authentication oauth2 orm python rbac token
Last synced: 17 days ago
JSON representation
Here’s a ready-to-use, customizable solution for FastAPI with Authentication, Authorization (RBAC), and OAuth2 support. This solution provides token based authentication(JWT, Redis, DB), role-based access control, and OAuth2 integration.
- Host: GitHub
- URL: https://github.com/astralmortem/fastauth
- Owner: AstralMortem
- License: mit
- Created: 2024-12-17T14:53:32.000Z (30 days ago)
- Default Branch: master
- Last Pushed: 2024-12-24T16:10:48.000Z (23 days ago)
- Last Synced: 2024-12-24T17:23:56.079Z (23 days ago)
- Topics: authentication, authorization, fastapi, jwt, jwt-authentication, oauth2, orm, python, rbac, token
- Language: Python
- Homepage: https://astralmortem.github.io/fastauth/
- Size: 1.15 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FastAuth
Ready-to-use customizable solution for FastAPI with Authentication, Authorization(RBAC) and OAuth2 support---
## About[![CI](https://github.com/AstralMortem/fastauth/actions/workflows/ci.yaml/badge.svg)](https://github.com/AstralMortem/fastauth/actions/workflows/ci.yaml)
[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/AstralMortem/fastauth/docs.yaml?label=Docs)](https://astralmortem.github.io/fastauth/)
[![codecov](https://codecov.io/github/AstralMortem/fastauth/graph/badge.svg?token=SI6ND9SIPU)](https://codecov.io/github/AstralMortem/fastauth)
[![PyPI - Version](https://img.shields.io/pypi/v/fastapi-fastauth)](https://pypi.org/project/fastapi-fastauth/)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/fastapi-fastauth)](https://pypi.org/project/fastapi-fastauth/)Here’s a ready-to-use, customizable solution for FastAPI with Authentication, Authorization (RBAC), and OAuth2 support.
This solution provides token based authentication(JWTHelper, Redis, DB), role-based access control, and OAuth2 integration.
Highly inspired by [FastAPI Users](https://github.com/fastapi-users/fastapi-users) and [AuthX](https://github.com/yezz123/authx/tree/main):* **Documentation**:
* **Source Code**:
---## Features
* [x] Authentication Support:
* [x] Access and Refresh Token Dependencies
* [x] Different Token Strategy(JWTHelper, Redis, Session)
* [x] Different Token locations(Header, Cookie, Query, etc.)
* [x] Authorization Support:
* [x] "Role and Permission required" Dependency
* [x] OAuth2 support
* [x] User Management:
* [x] User Model protocol
* [x] Service-Repository pattern for flexible customization
* [x] Popular ORM support:
* [x] SQLAlchemy support
* [ ] Beanie
* [ ] Tortoise ORM