fastapi-users
Ready-to-use and customizable users management for FastAPI
Decision gist · record as of 2026-08-14
Yes, for new FastAPI projects needing standard user management. The library is stable, well-maintained for security, and has no known vulnerabilities. Maintenance mode means no new features, but existing functionality is solid and widely used. Choose it if you need a conventional auth system; avoid it only if you require cutting-edge auth features or plan to migrate to a successor toolkit when released.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; database backend (SQLAlchemy or MongoDB with Beanie) must be configured separately.
- Low install friction with six runtime dependencies.
- Project is in maintenance mode—security updates and dependency maintenance continue, but no new features are planned.
License · maintenance · safety
permissive license (permissive) — MIT license (permissive) allows commercial and private use with minimal restrictions.
last release 2026-03-27 (140 days) · last repo commit 2026-07-20 · 6,215 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,577,536 downloads/mo, #3,744 on PyPI
Alternatives
Verify before relying
pip install fastapi-users
from fastapi_users import FastAPIUsers
from fastapi import FastAPI
app = FastAPI()
fastapi_users = FastAPIUsers(...)
app.include_router(fastapi_users.get_register_router())- Whether maintenance mode affects long-term viability for new projects or only impacts feature development.
- Performance characteristics under high concurrent user load.
- Compatibility details with the successor authentication toolkit mentioned in the project description.
What it is and what it does
FastAPI Users is a user management library that integrates authentication and user lifecycle operations directly into FastAPI applications. It provides pre-built routes for registration, login, password reset, and email verification, along with dependency injection helpers to retrieve the current user in route handlers. The library supports multiple authentication strategies (JWT, database-backed, Redis) and transports (Authorization header, cookies), and includes pluggable password validation and customizable user models.
The package is designed for rapid deployment of auth systems without reimplementing common patterns. It includes built-in support for SQLAlchemy async ORM and MongoDB via Beanie ODM, with full OpenAPI schema integration. The project is currently in maintenance mode, meaning it remains stable and receives security updates but will not gain new features.
Use it for
- Quickly add user registration and login flows to a new FastAPI REST API without building auth from scratch.
- Implement OAuth2 social login alongside traditional email and password authentication.
- Set up email verification and password reset workflows with minimal custom code.
- Manage user sessions using JWT tokens or database-backed strategies with cookie or header transport.
- Inject the current authenticated user into route handlers via FastAPI dependency injection.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, for new FastAPI projects needing standard user management.
The library is stable, well-maintained for security, and has no known vulnerabilities. Maintenance mode means no new features, but existing functionality is solid and widely used. Choose it if you need a conventional auth system; avoid it only if you require cutting-edge auth features or plan to migrate to a successor toolkit when released.
Install
fastapi-users on PyPI
Before you install
Low install friction with six runtime dependencies. Project is in maintenance mode—security updates and dependency maintenance continue, but no new features are planned. Last commit 2026-07-20 with active repository status.
Requires Python 3.10 or later; database backend (SQLAlchemy or MongoDB with Beanie) must be configured separately.
License in practice
MIT license (permissive) allows commercial and private use with minimal restrictions.
Quickstart
pip install fastapi-users
from fastapi_users import FastAPIUsers
from fastapi import FastAPI
app = FastAPI()
fastapi_users = FastAPIUsers(...)
app.include_router(fastapi_users.get_register_router())
Verify before relying
- Whether maintenance mode affects long-term viability for new projects or only impacts feature development.
- Performance characteristics under high concurrent user load.
- Compatibility details with the successor authentication toolkit mentioned in the project description.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesemail-validatorfastapimakefunpwdlibpyjwtpython-multipart |
| Maintenance | Actively maintained 140 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,577,536 / month, #3,744 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableFramework :: AsyncIOFramework :: FastAPIIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet :: WWW/HTTP :: Session |
Evidence: fastapi_users-15.0.5-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 auth system”
- fastapi-usersProvides ready-to-use user registration, login, password reset, and…
- propelauth-fastapiIntegrates PropelAuth's authentication and authorization service into…
- fastapi-loginAdds session and token-based user authentication to FastAPI…
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 fastapi-sessions · fastapi-users-db-sqlalchemy · streamlit-authenticator · fastapi-login · fastapi-auth0 · fastapi-sso · dj-rest-auth · djoser · fastapi-health · axioms-fastapi