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
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- fastly error
Hey! I'm hitting a Fastly error on the www version of our site, but the root domain works fine. We have a wildcard set up, so I expected the subdomain to be cov...
- Facebook's scraper facebookexternalhit g...
share.bardbliss.com but works fine on the raw fra.appwrite.run URL. No execution logs appear when Facebook hits the custom domain. This was working before. How ...