qmetrics.net

FastAPI Users

FastAPI user authentication and registration kit

FastAPI Users is in maintenance mode: “This project is now in maintenance mode.” source

FastAPI Users screenshot

FastAPI Users adds customizable user models, registration, login, password reset, email verification, OAuth2, and pluggable auth backends to FastAPI applications.

Overview

FastAPI Users is a Python library that wires user management into FastAPI projects without reinventing common auth flows. It supplies an extensible user model, ready-made routes for register, login, password reset, and email verification, plus dependency helpers to inject the current user into endpoints.

Authentication backends can mix JWT, database, or Redis strategies and header or cookie transports, with OpenAPI schema support across multiple backends. Social OAuth2 login flows and pluggable password validation are included, and database integration is swappable.

The maintainers note the project is in maintenance mode with security and dependency updates but no new features, while a successor authentication toolkit is being developed separately.

Documentation walks through configuration, routers, managers, and migration guides between major versions for existing adopters.

Key features

  • Register and login routes
  • Password reset and verify email
  • OAuth2 social login flow
  • JWT database Redis strategies
  • Cookie or header transports
  • Pluggable password validators
  • Customizable database backends
  • OpenAPI multi-backend schemas

Use cases

  • Adding auth to FastAPI APIs
  • Cookie-based web sessions
  • OAuth login buttons
  • Multi-backend JWT APIs

Tags

Similar software

Auth.js

Web authentication libraries for JavaScript frameworks

Auth.js (NextAuth) adds sign-in, sessions, and OAuth to modern JavaScript apps. Packages target Next.js, SvelteKit, Express, Qwik, and other runtimes.

  • OAuth 2.0 and OIDC providers
  • Email and passwordless sign-in
  • WebAuthn passkey support
TypeScriptDetails →
★ 28.4k⟳ 4 months agoISC
Open Source Alternative to:Amazon CognitoAuth0+4

Devise

Modular authentication engine for Ruby on Rails

Devise adds sign-in, registration, and related account flows to Rails apps through a Warden-backed engine. Teams enable only the authentication modules they need for each user model.

  • Rack and Warden integration
  • Pluggable authentication modules
  • Rails engine MVC stack
RubyDetails →
★ 24.3k⟳ 1 month agoMIT

Sa-Token

Java lightweight permission and session framework

Sa-Token adds login, permission checks, SSO, OAuth2, and microservice gateway auth to Java web projects with minimal boilerplate.

  • Login and permission annotations
  • Distributed session with Redis
  • Built-in SSO mode variants
JavaDetails →
★ 19.1k⟳ 16 days agoApache-2.0

jsonwebtoken

Node.js library for signing and verifying JSON Web Tokens

jsonwebtoken implements JWT creation and verification for Node.js using HMAC, RSA, ECDSA, and related algorithms. It exposes sign, verify, and decode helpers built on node-jws.

  • JWT sign and verify APIs
  • HMAC and asymmetric algorithms
  • Standard claim options
JavaScriptDetails →
★ 18.2k⟳ 5 months agoMIT

JustAuth

Java library for third-party OAuth login

JustAuth is a Java component that wires social and enterprise OAuth providers into applications without vendor-specific SDKs. It exposes a small API with builder-style configuration.

  • Dozens of built-in OAuth providers
  • Builder and plain API styles
  • Custom OAuth platform adapters
JavaDetails →
★ 17.6k⟳ 1 year agoMIT
Identity & Access Management (IAM)No commits in 18+ months

laravel-permission

Laravel roles and permissions management package

A Laravel package that stores roles and permissions in your database and wires them to users, with helpers to assign capabilities and check access through Laravel's gate and Blade.

  • Database-backed roles and permissions
  • Assign permissions and roles to users
  • Permissions registered on Laravel gate
PHPDetails →
★ 13k⟳ 3 days agoMIT