Rank 1: Thread
I followed the Next.js guide for SSR Auth on https://appwrite.io/docs/tutorials/nextjs-ssr-auth/step-1
I tried to replicate it for Tanstack Start.
However, once setting the session, e.g. through the oauth callback, the getLoggedInUser returns null
A harde browser refresh is necessary in order to work.
I do not understand why this is happening or what I am doing wrong.
Here is the code: https://gist.github.com/Olgoetz/a685d61c130e87b8817cb780e46888a3