top | item 35511144

Show HN: Lucia 1.0 – A simple and flexible auth library for TypeScript

1 points| pilcrowonpaper | 2 years ago |github.com

This is a project I've been working for nearly a year.

Lucia is a server-side authentication library for TypeScript that aims to be unintrusive, straightforward, and flexible. At its core, it’s a library for managing users and sessions, providing the building blocks for setting up auth just how you want. Database adapters allow Lucia to be used with any modern ORMs/databases and integration packages make it easy to implement things like OAuth.

Key features:

  - Session based auth
  - Support for popular databases/ORMs
  - Built in support for frameworks: Express, SvelteKit, Astro, Next.js
  - OAuth support
  - Multiple auth methods with keys
- Email verification links and OTPs with tokens

discuss

order

No comments yet.