Replies: 1 comment
-
|
In fact solving my problem was as simple as adding to my configuration in auth.ts which was already imported in hooks.server.ts as per the documentation... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I'm using @auth/sveltekit 1.11.1 and the latest version of sveltekit.
I searched the web for hours and I can't find a working, up to date example of a signIn our signOut event handler in hooks.ts or server.hooks.ts
I'm trying to intercept signin and signout events to delete data stored in the browser localStorage.
Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions