Is there a way to run const session = await auth.getSession('current'); on nuxt.js plugin initializer and get the session object on nuxt server side?
I run it and on the browser it works but on the nuxt server it gives me an (401) Unauthorized error
@VincentGe can you look into this?
We don't support SSR right now, there are some hacky workarounds, but we're working on better SSR suppor.t
At the moment, I would just recommend not using SSR
😅
It's a know product limitation
[ANSWERED] Access session on nuxt server side
Maybe appwrite-ssr npm package could help
[CLOSED] Access session on nuxt server side
Recommended threads
- Github Student Plan showing as free plan
In my Github student plan it showing as basic plan instead of pro plan. Till few hours back it worked ok, but now showing errors and couldn't use any pro featur...
- 404 page not found
Hey I am trying to run a simple Svelte-kit project on appwrite self-hosted but the logs says: ```bash [13:56:26] [open-runtimes] Build packaging finished. [13:...
- Appwrite for Education
I am writing to report an issue with my account limits. I currently have the GitHub Student Developer Pack active, which should include 10 Appwrite Pro projects...