
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
- general_route_not_found
{"message":"Route not found. Please ensure the endpoint is configured correctly and that the API route is valid for this SDK version. Refer to the API docs for ...
- session cookie not saving
it appears with my app hosted on Cloudflare worker pages, when i try to login it does not save the session cookie. however it saves in on localhost and no probl...
- Installation with Docker and Extra Servi...
See: https://github.com/appwrite/appwrite/issues/10673
