
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
- phantom relationships appear on parent c...
i have this bug were my past deleted collection apears as relationship to my parent collection. when i try to delete that relationship from parent it gives me e...
- Attribute stuck on proccessing
i tried creating a new attribute butits stuck on proccessing,i did a hard refresh,cleared cache everything but still stuck on proccessing,also in my functions w...
- Properly contained appwrite main app can...
Hello! We tried to reinstall our main self-hosted appwrite with a new method but the main app 2 mins after launch throw this error: ```2025/06/22 16:16:14 s...
