Back

(SvelteKit) How to auth user on client when auth is initialized on server?

  • 0
  • Cloud
Isak
23 Jun, 2024, 08:31

I initialize the auth on the server using this guide https://appwrite.io/docs/tutorials/sveltekit-ssr-auth/step-1

But when I want to access the Client in my +page.svelte files, it is not authed. How can I make the Client in my .svelte files be authed aswell?

TL;DR
Developers utilizing SvelteKit need assistance in authentication for both server and client side. They followed a guide for initializing auth on the server but are struggling to have the client side authenticated as well, specifically in their .svelte files.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more