Lucia
lastmod 2026-11-10created 2023-04-102 edits
Lucia is an open-source library for implementing session-based authentication on TypeScript/JavaScript servers. Rather than relying on an external authentication service, it stores users and sessions in your own database, and it provides adapters for various databases and frameworks. OAuth login is handled by a companion library from the same developer. It later stopped development as a library and turned into learning material explaining how to implement authentication.