Sourabh Patel
Sourabh Patel
Yes I am using lucia-auth to set session cookies. Also in the dev tools/storage/cookies I can briefly see the flash cookie but the flash message toast does not appear.
My `hooks.server.ts` is really simple. ``` import { lucia } from "$lib/server/auth"; import type { Handle } from "@sveltejs/kit"; export const handle: Handle = async ({ event, resolve }) =>...
> > Classic, > > We should put this in a hall of fame @ciscoheat 😂 > > But, yes, @Sourabhpatel1; that was my guess. You are overwriting your cookies...
> Sorry, `event.cookies` don't need append, it's only when you deal directly with headers. Unfortunately I cannot take a look at the repo since it includes too much extra libraries...