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
- One org lost all data out of 13 org's af...
> https://<domain>/v1/storage/buckets?queries%5B0%5D=%7B%22method%22%3A%22limit%22%2C%22values%22%3A%5B6%5D%7D&queries%5B1%5D=%7B%22method%22%3A%22offset%22%2C%...
- database documents relationships
after migrating from 1.7.4 to 1.8, database get document and list documents is getting results but with no relationship values, the relationship attribute will...
- deployment on every remote branch leads ...
Hi there, on my local appwrite instance it rebuilds my site on every deployment i make to github on every branch, even the main branch is set in the site settin...