You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I imagine most people will want the session to be stored in the layout for all pages to access but the default docs don't touch on adding this. It's really just as simple as adding this to the docs.
Is there any context that might help us understand?
balazsorban44
added
hacktoberfest
Good issue to take for first time contributors
and removed
triage
Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
labels
Dec 24, 2022
What is the improvement or update you wish to see?
The SvelteKit integration page is missing the following code sample for +layout.server.ts:
I imagine most people will want the session to be stored in the layout for all pages to access but the default docs don't touch on adding this. It's really just as simple as adding this to the docs.
Is there any context that might help us understand?
Got this (admittedly very simple) code to set the "session" inside page.data from the example linked in the documentation:
https://github.com/nextauthjs/sveltekit-auth-example
Does the docs page already exist? Please link to it.
https://authjs.dev/reference/sveltekit/modules/main
The text was updated successfully, but these errors were encountered: