Back to gallery
lucia-auth/lucia on GitHub — Authentication, simple and clean
lucia-auth
Built bylucia-auth/

lucia

Authentication, simple and clean

Stars
10.5k
Forks
520
Watchers
0
Open issues
12
TypeScriptMIT main Updated 3 months ago~7 stars/day lifetime
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