← Directory
Auth
Lucia Auth logo

Lucia Auth

Lightweight, framework-agnostic authentication library for modern web apps.


Overview

Lucia gives developers full control over session management without relying on third-party identity providers or opinionated configurations. It stores credentials and sessions in any database, making it highly flexible for custom auth flows.

Best for

  • custom backend auth
  • multi-tenant apps
  • database-first teams

Trade-offs

vs Auth.js
Lucia for full framework agnosticism and minimal footprint; Auth.js for out-of-the-box OAuth providers and Next.js optimization

What XeroHack pre-wires

When you pick Lucia Auth in the interview, the engine emits these files into your scaffold:

  • Next.js + Drizzle
  • Hono + PostgreSQL
  • Express + MongoDB

Coupon

No active coupon for this tool right now. Sign in to be notified when one is available.

Sign in