leonardorickOriginal post
Rank 1: Thread
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
Summary
The user is seeking help in accessing the session on the Nuxt server side. They mention the appwrite-ssr npm package as a potential solution. However, it is mentioned that using SSR is not recommended at the moment. There is no definitive solution provided in the thread.