Thank you for the excellent blog!
I tried implementing the hooks.server.ts in Svelte and get an error:
Argument of type 'Handle' is not assignable to parameter of type 'SvelteKitAuthConfig | ((event: RequestEvent>, string | null>) => PromiseLike)'. Type 'Handle' is not assignable to type '(event: RequestEvent>, string | null>) => PromiseLike'. Types of parameters 'input' and 'event' are incompatible.
I installed the dependencies and put the file in the /src folder. Is there something else I need to do to "satisfy" the Handle?
Thanks, Neil