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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...
- Paused project can't activate
I have failed to reactivate one my projects which had been paused