/lucia-sveltekit

A simple authentication library for SvelteKit

Primary LanguageTypeScriptMIT LicenseMIT

Lucia

Join the Discord server!

Lucia is an authentication library for SvelteKit that handle the bulk of the authentication process. It is bare-bone by design, allowing it to be used in many ways, but simple and straight forward enough to be easy to understand and to use. That said, it implements token theft detection, rotating refresh token, and silent refresh, to make sure your authentication system is secure.

It's important to note that this isn't an out-of-the-box authentication library. It does not validate the user's input nor does it not provide UI elements or OAuth authentication (though it can be implemented using Lucia). These are out of the scope of this library and is left up to you.

Documentation

Documentation

Installation

npm install lucia-sveltekit

Contributing

CONTRIBUTING.md