propelauth-fastapi
A FastAPI library for managing authentication, backed by PropelAuth
Decision gist · record as of 2026-08-14
Yes, if you are building a FastAPI application and have committed to using PropelAuth for authentication. The package is actively maintained, has no known vulnerabilities, and low install friction. It is not suitable if you need a self-hosted or alternative authentication provider.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a PropelAuth account and valid AUTH_URL and API_KEY credentials to initialize.
- Low friction installation with a pure Python wheel.
- The package is actively maintained with a recent release (113 days ago) and no known vulnerabilities.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal obligations.
last release 2026-04-23 (113 days) · last repo commit 2026-06-16 · 18 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 196,181 downloads/mo, #9,794 on PyPI
Alternatives
Verify before relying
pip install propelauth_fastapi
from fastapi import FastAPI, Depends
from propelauth_fastapi import init_auth, User
app = FastAPI()
auth = init_auth("YOUR_AUTH_URL", "YOUR_API_KEY")
@app.get("/")
async def root(current_user: User = Depends(auth.require_user)):
return {"user_id": current_user.user_id}- Performance characteristics of token verification at scale or under high request volume.
- Compatibility with specific FastAPI versions or async patterns beyond the documented examples.
What it is and what it does
This package bridges PropelAuth's cloud-hosted authentication service with FastAPI applications. It provides FastAPI dependency functions that verify access tokens locally (without external requests) and extract user identity and organization membership information. The library handles both required and optional user authentication, and exposes methods to check organization membership, user roles, and permissions within organizations.
The package is designed for B2B and multi-tenant applications where you want to offload authentication UI and credential management to PropelAuth while keeping authorization logic in your FastAPI code. It wraps the underlying propelauth-py client and integrates it with FastAPI's dependency injection system, so you protect routes by adding a dependency parameter rather than writing custom middleware.
Use it for
- Protect FastAPI routes by requiring a valid user token and extracting the User object for authorization checks.
- Build multi-tenant SaaS applications where you verify users belong to specific organizations and have required roles.
- Implement fine-grained access control by checking user permissions within an organization before allowing an action.
- Create optional authentication endpoints that return user info if a token is present, or an empty response if not.
- Call PropelAuth backend APIs directly (e.g., create magic links, fetch users) from your FastAPI application.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building a FastAPI application and have committed to using PropelAuth for authentication.
The package is actively maintained, has no known vulnerabilities, and low install friction. It is not suitable if you need a self-hosted or alternative authentication provider.
Install
propelauth-fastapi on PyPI
Before you install
Low friction installation with a pure Python wheel. The package is actively maintained with a recent release (113 days ago) and no known vulnerabilities. Requires current Python versions (3.9+).
Requires a PropelAuth account and valid AUTH_URL and API_KEY credentials to initialize.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal obligations.
Quickstart
pip install propelauth_fastapi
from fastapi import FastAPI, Depends
from propelauth_fastapi import init_auth, User
app = FastAPI()
auth = init_auth("YOUR_AUTH_URL", "YOUR_API_KEY")
@app.get("/")
async def root(current_user: User = Depends(auth.require_user)):
return {"user_id": current_user.user_id}
Verify before relying
- Performance characteristics of token verification at scale or under high request volume.
- Compatibility with specific FastAPI versions or async patterns beyond the documented examples.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesfastapihttpxpropelauth-pyrequests |
| Maintenance | Actively maintained 113 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 196,181 / month, #9,794 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: propelauth_fastapi-4.4.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “fastapi user verification”
- propelauth-fastapiIntegrates PropelAuth's authentication and authorization service into…
- fastapi-cloudauthIntegrates FastAPI applications with cloud authentication services…
- fastapi-usersProvides ready-to-use user registration, login, password reset, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also propelauth-py · fastapi-cloudauth · axioms-fastapi · fastapi-auth0 · fastapi-login · auth · fastapi-cognito · fastapi · fastapi-keycloak-middleware · fastapi-decorators