I'm using Astro, with node-appwrite and httpOnly cookies for auth. This handles authentication for certain pages, and now I need a realtime connection to the db, under the user that's logged in - how should I go about doing this?
I presume I'd need a client-side appwrite client, but how would I make one without sending the session cookie from the server? (unless I'm thinking of that the wrong way..) - also, does this mean I'd need to use both the node-appwrite and appwrite packages separately?
Everything is local at the moment - selfhosted appwrite and a local astro page. This is probably a simple solution, but I haven't found anything besides a couple of vague or empty threads.
Recommended threads
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...
- general_bad_request when creating accoun...
I have created a new bug request, could anyone have a look - https://github.com/appwrite/appwrite/issues/11908?
- Cannot use custom SMTP for messaging (SM...
Hey there! I'm on Appwrite Self-hosted 1.9.0. I've never used the messaging feature before, always sent emails through functions or a custom backend, but I'v...