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
SSR Auth with Tanstack Start requires hard refresh
Recommended threads
- Project Paused Despite Daily Active Usag...
I noticed that my project was automatically **paused**, even though it is actively being used. The project is an **attendance application** that is used daily b...
- Hi Appwrite Support Team,My project has ...
Details: Project ID: 69a69f6f00113ed0e8e4 Region: SFO (sfo.cloud.appwrite.io) Error Response: Affected: ALL endpoints — Functions, Databases, Storage, Health, ...
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...