
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
- line 1: 107 Killed npm run build
When trying to deploy my Nuxt app for testing, it goes through rendering chunks successfully and once it gets to Initializing the pre-renderer it throws this er...
- selfhost install fail on version 1.7.4
Docker compose + logs: https://pastebin.com/4P3xbnfw After a fresh install, I create an account and while it attempts to send me the on boarding to onboard my ...
- Vercel Deployment issue
I am trying to deploy my web project using vercel, but in the deployed link, it is fetching some of the attributes and for the rest it is giving "not found" err...
