-
-
Notifications
You must be signed in to change notification settings - Fork 59
Description
The library is being deprecated in favor of users implementing the session handling themselves (see: lucia-auth/lucia#1707).
I've migrated over an example project that uses the /demo
route that our adder creates: https://github.com/AdrianGonz97/definitely-not-lucia-sveltekit-example
and honestly, it's not all that much different besides the additional ~60 LoC in lib/server/auth.ts
(which can be further simplified). With this change, we may also be able to pull off the // TODO:
comment idea that @benmccann proposed for users that don't necessarily want to use drizzle
There's also been mentions of a potential scaffolding CLI where it adds the necessary session handling code to your project. We may be able to utilize this as well (if it's ever made).