Skip to main content

FastAuth

FastAuth

Ready-to-use customizable solution for FastAPI with Authentication, Authorization(RBAC) and OAuth2 support


About

CI GitHub Actions Workflow Status codecov PyPI - Version PyPI - Downloads

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:


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)

Source distribution for fastapi-fastauth 1.1.2
File Size Uploaded
fastapi_fastauth-1.1.2.tar.gz 16.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastapi-fastauth 1.1.2
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page