FastAuth
Ready-to-use customizable solution for FastAPI with Authentication, Authorization(RBAC) and OAuth2 support
About
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. Highly inspired by FastAPI Users and AuthX:
- Documentation: https://astralmortem.github.io/fastapi-fastauth/
- Source Code: https://github.com/AstralMortem/fastapi-fastauth
Features
- Authentication:
- Access and Refresh Token Dependencies
- Different Token Strategy(JWT, Redis, Database)
- Different Token locations(Header, Cookie, Query, etc.)
- Authorization:
- Roles and Permission support
- OAuth2 support
- User Management:
- User Model protocol
- Service-Repository pattern for flexible customization
- Popular ORM support:
- SQLAlchemy support
- Beanie
- Tortoise ORM
Release files for fastapi-fastauth 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fastapi_fastauth-1.1.2.tar.gz | 16.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fastapi_fastauth-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 44.4 kB
Release files / fastapi_fastauth-1.1.2.tar.gz
| Download URL | fastapi_fastauth-1.1.2.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8db6c0f1bb5276f2c93c1d784bac3e0ef181ae14220386209a48e259f28b90d8
|
|
BLAKE2b-256 checksum How to use checksums |
b6694008c9d2f9eeb7c13645eb9b5bf5b6836314c1e32c9490ac8105e3ddd764
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 16, 2025.
Transparency logRelease files / fastapi_fastauth-1.1.2-py3-none-any.whl
| Download URL | fastapi_fastauth-1.1.2-py3-none-any.whl |
|---|---|
| Size | 28.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6c9e2d18c07378c3fc6417ec08c6e2aaa418154cb98030c5fe653a9fb67b9d4
|
|
BLAKE2b-256 checksum How to use checksums |
6499e9a5f0f5faac6c6da90df021de997ff4cad4280e4107591353a1f8fcfe90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 16, 2025.
Transparency log