made with Svelte


Authentication Library for SvelteKit

Visit Site


Authentication Library for SvelteKit

"Lucia is a simple authentication library for SvelteKit that connects your SvelteKit app to your database. It handles the bulk of the authentication process, like creating and validating tokens, but only just enough that you can build on top of it to fit your use case.

That said, it isn't (just) a library that create tokens. It uses short-lived tokens, implements rotating refresh tokens, automatically refreshes tokens, and detects refresh token theft. It's goal is to simplify the development process while not being a pain in the ass to customize!"

Social Media Links

icon-eye-dark Created with Sketch. 65
icon-eye-dark Created with Sketch. 1.965
Sentry for Svelte Svelte Error & Performance Monitoring
🧡 Sponsored by Friends
We’re hosting on Digital Ocean! 💙 Try it today and get a free $100 credit.
Celestite Reactive, server-side rendered Svelte apps with a Crystal backend
icon-eye-dark Created with Sketch. 2.223
Svelte - Firebase Svelte & Firebase Template
icon-eye-dark Created with Sketch. 2.741