lucia
Authentication, simple and clean
TL;DR · 30-second scan
lucia — Authentication, simple and clean
You want to learn how session-based auth works from a clean codebase before building your own.
Authentication
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.
You want to learn how session-based auth works from a clean codebase before building your own.
You are picking auth for a new production app — use Better Auth or Auth.js instead.
Add this badge to your README to show your project is curated on StackPicks. Free, lightweight (180×28 SVG), and gives your visitors a one-click way to see honest take + alternatives.
[](https://stackpicks.dev/repo/lucia-auth-lucia)
<a href="https://stackpicks.dev/repo/lucia-auth-lucia"><img src="https://stackpicks.dev/api/badge/lucia-auth-lucia" alt="Featured on StackPicks" width="180" height="28" /></a>
Are you the maintainer of lucia-auth/lucia? Add the badge and we'll feature your project in the weekly curator newsletter.