# fastapi-users/fastapi-users

Ready-to-use and customizable users management for FastAPI

Repository: https://github.com/fastapi-users/fastapi-users
Canonical: https://ross.abutalabs.com/products/fastapi-users
Homepage: https://fastapi-users.github.io/fastapi-users/
Language: Python
License: MIT
License Family: permissive
Topics: python, starlette, fastapi, async, asyncio, users, fastapi-users
Last push: 2026-08-17T06:27:01+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 65, longevity 100
- inputs: {"age_days": 2524, "days_push": 16, "days_rel": 159, "gap_med": 48.0, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6227, forks 507 (observed 2026-08-28T04:09:40.733170+00:00)

## What it is
FastAPI Users is a ready-to-use and customizable user management library for FastAPI applications. It provides registration, login, password reset, email verification, and social OAuth2 flows with pluggable database and authentication backends.

## Use cases
- add user registration and login to a FastAPI app
- implement JWT or cookie-based authentication in FastAPI
- add social OAuth2 login to a Python API
- manage user models with SQLAlchemy or MongoDB in FastAPI
- inject the current authenticated user into FastAPI routes
- add password reset and email verification flows

## When to choose
- you are building a FastAPI or Starlette application and need user accounts out of the box
- you want customizable auth backends (JWT, database, Redis) and transports (header, cookie)
- you need OpenAPI-compatible authentication with multiple backends

## When to avoid
- you need new features, since the project is in maintenance mode with no new development
- you are not using FastAPI or Starlette
- you need a full-featured identity provider with SSO, MFA, or admin console

## Facets
- artifact type: library
- maturity: maintenance
- function: auth, authorization, middleware, orm
- domain: web-development, backend, security, developer-tools
- platform: python
- tags: fastapi, user-management, jwt, oauth2, async, sqlalchemy, mongodb, registration, login, web-server

## Member repositories
- fastapi-users/fastapi-users (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:40.733170+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:47:13.662087+00:00, confidence not recorded.
  - readme: https://github.com/fastapi-users/fastapi-users (fetched 2026-08-28T04:09:40.733170+00:00, sha f4691a9d6fa6)
  - homepage: https://fastapi-users.github.io/fastapi-users/ (fetched 2026-08-29T08:43:30.570713+00:00, sha 36c6c3c2e4f9)
  - registry_pypi: https://pypi.org/pypi/fastapi-users/json (fetched 2026-08-29T08:43:30.573766+00:00, sha f8f8009d5580)
- Data as of 2026-08-30T08:39:29.467469+00:00.
