| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Original HTTPS Page] |
Lucia is an open source auth library that abstracts away the complexity of handling sessions. It works alongside your database to provide an API that's easy to use, understand, and extend.
import { Lucia } from "lucia";
const lucia = new Lucia(new Adapter(db));
const session = await lucia.createSession(userId, {});
await lucia.validateSession(session.id);Logo by @dawidmachon, licensed under CC BY-NC-SA 4.0.
Email and password example with 2FA in Next.js
Email and password example with 2FA in SvelteKit
Email and password example with 2FA and WebAuthn in SvelteKit
Email and password example with 2FA and WebAuthn in Next.js
Email and password example with 2FA and WebAuthn in SvelteKit
Email and password example with 2FA in SvelteKit
Email and password example with 2FA and WebAuthn in Next.js
Email and password example with 2FA and WebAuthn in Astro
Loading…
Loading…
| Back | FazBrowse Home | New Git URL |