Back to gallery
Editor's take
Note: Lucia announced deprecation in 2024 — the maintainer is sunsetting it in favor of writing your own. Still useful as a learning reference for session-based auth patterns in TypeScript. Better Auth picks up where Lucia left off.
Use this if
You want to learn how session-based auth works from a clean codebase before building your own.
Skip if
You are picking auth for a new production app — use Better Auth or Auth.js instead.
Authentication
Topics
oauthtypescriptauth
Quick install
# Install via npm / pnpm / bun: pnpm add lucia # or npm install lucia
Inferred from TypeScript · always double-check against the official README below.
Live data via GitHub REST API · Cached 30 min · Created 18 Jul 2022