How can i get the user info on api routes? on cliennt side we can call account.get() which maybe reads cookies though doucment object.
But i want to get to get user info on server side to validate the request is coming from authenticated route
one approach could be we can pass cookie header from req object to accoun.get of node-appwrite
use the server side endpoints - https://appwrite.io/docs/references/cloud/server-nodejs/users
i dont know why but my server Account instance isnt able to to use account apis endpoints
even though i have provided all the scopes to my appwrite key
use the Users service
not account
Recommended threads
- Not able to upgrade to Appwrite Pro
This is my project ID - 69f5bee60036512d2d52 I've tried multiple credit cards now and I still face the same error "Your card was declined". But I've used the s...
- Running into a server error on my self-h...
Hey everyone, I'm running into a server error on my self-hosted setup after updating to v1.19.0. The issue only happens during user creation and deletion. Ever...
- Storage System
Hey guys, quick question regarding massive storage scaling. I’m working in digital forensics and I’m constantly dealing with huge binary disk images, usually be...