
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
- Properly contained appwrite main app can...
Hello! We tried to reinstall our main self-hosted appwrite with a new method but the main app 2 mins after launch throw this error: ```2025/06/22 16:16:14 s...
- Broken message
https://github.com/appwrite/appwrite/issues/10081 I just realized that I can just build appwrite myself, was this bug fixed in latest dev release?
- 404 errors after 7 Days
Local hosted Appwrite via docker. Last version and current version. After exactly 7 days Appwrite stops working. I get 404 route not found, cannot access anyth...
