# lucia-auth/lucia

Authentication, simple and clean

Repository: https://github.com/lucia-auth/lucia
Canonical: https://ross.abutalabs.com/products/lucia
Homepage: https://lucia-auth.com
Language: TypeScript
License: MIT
License Family: permissive
Topics: oauth, typescript, auth
Last push: 2026-08-08T13:42:42+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 35, longevity 100
- inputs: {"age_days": 1507, "days_push": 25, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 10450, forks 519 (observed 2026-08-28T04:10:42.012701+00:00)

## What it is
Lucia is a TypeScript authentication library for managing user sessions and OAuth in web applications. It was deprecated in March 2025 and now exists as a single-file reference implementation plus the Auth Book learning resource.

## Use cases
- add user authentication to a web app
- implement session-based login in TypeScript
- handle OAuth sign-in flows
- manage user sessions with cookies
- learn how authentication works under the hood

## When to choose
- you want a minimal, understandable reference implementation of session auth
- you are learning authentication concepts via the Auth Book
- you want to copy a single-file auth solution into your project

## When to avoid
- you need a maintained library with ongoing security updates
- you want batteries-included auth with providers and UI out of the box
- you are starting a new production project in 2025 or later

## Facets
- artifact type: library
- maturity: abandoned
- function: auth, authorization
- domain: web-development, backend, security, developer-tools
- platform: cross-platform
- tags: session-management, oauth, deprecated, learning-resource, nodejs, typescript

## Member repositories
- lucia-auth/lucia (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:42.012701+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:19:01.476922+00:00, confidence not recorded.
  - readme: https://github.com/lucia-auth/lucia (fetched 2026-08-28T04:10:42.012701+00:00, sha b8cfcc73561a)
  - homepage: https://lucia-auth.com (fetched 2026-08-29T08:18:21.425053+00:00, sha 075083dd5330)
- Data as of 2026-08-30T08:39:29.467469+00:00.
