lucia
lucia copied to clipboard
Authentication, simple and clean
### Package lucia ### Describe the bug Oslo is setting Max-Age as seconds which is an issue for Express.js where Max-Age should be as milliseconds. @pilcrowOnPaper suggested using Expires instead...
### Description It was created based on #1386 that was suspended. > Hm, I'd like to hold off from translating docs until I have bit more free time. The docs...
Working with multiple packages in a single repository has been a pain in the ass. It gets worse when you have to maintain multiple versions and preleases. This repository uses...
### Description While it is not a huge increase of security, it is generally advised to hash/sign session ids before sending them out to the user. The main advantages are:...
### Description I use drizzle, and I need to get extra info from another table on 'getSessionAndUser'. I tried doing this, but had no luck: ```ts import type { MySqlDatabase...
### Package lucia ### Describe the bug Latest versions of Lucia are relying upon: import { hash } from "@node-rs/argon2"; That one is breaking npm run build for sveltekit projects....
### Package lucia ### Description Terminates all user's authorized sessions except for the current one. like https://core.telegram.org/method/auth.resetAuthorizations ```ts deleteUserSessionsExceptCurrent() // or type deleteUserSessions = (except_current: boolean) => boolean deleteUserSessions(true) ```...
Noticed solidstart examples for sessions were outdated. I decided to use event.locals instead of event.nativeEvent.context because it's what is mentioned in [solidstart docs](https://start.solidjs.com/api/RequestEvent#locals).
This change would allow the user to include additional relations in the `user` object when querying. The type for the includable relations is a bit suboptimal, as intellisense will show...