
Hi, i am wondering, Is there any chance to authenticate user via access/refresh session tokens on my server? I can't use JWT because my server uses SSR (SvelteKit).
I have already figured out how to authenticate user via expired JWT and access/refresh session tokens, but it is litttle bit too sofisticated. BTW thank you for Appwrite, is awesome

Not really.
First of all, SSR makes things significantly more complicated. If you don't need it, i recommend turning it off.
If you need it and you want to have API calls made both on the client and server-side, you'd have to make sure the session cookie is shared between the client and the server. Take a look at https://svelte-kit.ssr.almostapps.eu/ for a demo.

Thank you very much
Recommended threads
- Issue - Migration From Cloud > Self Host...
Hi team, I’m trying to migrate a few of my Appwrite projects from the cloud to a self-hosted instance. These projects are currently in “archive mode” due to th...
- 404 error when navigating to the team fr...
the version i m running is `1.7.4` as far as i can tell everything is working fine except for this weird bug in the video. when monitoring the appwrite and app...
- [Node.js SDK] Bypass 2GB file limit?
Hello. Using either InputFile.fromPath or InputFile.fromBuffer throws this error: File size (2295467305) is greater than 2 GiB Bucket limit etc. is setup corre...
