--- id: fastapi-users version: "15.0.5" license: unclear license_treatment: permissive maintenance: active --- # fastapi-users — Ready-to-use and customizable users management for FastAPI License: permissive · Maintenance: active · Downloads: 1.6M/mo ## 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 above — verify before relying. Provides ready-to-use user registration, login, password reset, and email verification routes for FastAPI applications, with pluggable authentication backends and customizable database support. 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 pip install fastapi-users uv add fastapi-users poetry add fastapi-users ## Installing fastapi-users 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. 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()) Requires Python 3.10 or later; database backend (SQLAlchemy or MongoDB with Beanie) must be configured separately. 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: not declared (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 1.6M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags fastapi authentication, user registration fastapi, jwt login fastapi, oauth2 fastapi, user management fastapi, fastapi auth system, password reset fastapi, authentication, user-management, fastapi-extension [View on SkillFed](https://skillfed.io/packages/fastapi-users) · [View on PyPI](https://pypi.org/project/fastapi-users/)