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
- Cannot update relationship value with ev...
I have 2 Tables. One for all Clients (Image 3) and one for projects the clients can create. The problem: I can only assign a handful of clients (Image 1). The r...
- Function connected custom domain error: ...
My domain is served through Cloudflare. Domain is now connected with the appwrite function. But when accessing the domain, I get the below error. Any suggestion...
- Error | general_unknown
I have built a website using Appwrite Cloud as backend, and also using sites for deployment. My website is live but sometimes it shows Appwrite's Error general_...