Hi there. I would like to call a function in the cloud via postrman with a users only permission but I get user_unauthorized. Cookies are not applying to the invocation cuz the function comes with a different domain name. I tried to use X-Appwrite-JWT I generated via v1/account/jwt however it doesn't help.
How can I invoke a function as a loggined user via postman? Thanks
What headers did you use for setting cookies? How did you access the cookies?
@darShan Thanks for the quick answering,
Here's a header I've been using for my cloud function calling
Cookie: a_session_[redacted]_legacy=[redacted];a_session_[redacted]=[redacted]
P.S. X-Appwrite-Project has been set as well
Recommended threads
- Getting payload is too large response fr...
I'm encountering a 412 "Payload Too Large" error while trying to upload a 100MB file via Appwrite function to an external storage service api. Could you suggest...
- I do SSR auth. What's the best way to se...
I am currently handling authentication entirely server-side via an `/api/auth` endpoint, so I don't have any Appwrite client instances running client-side. Ho...
- Network Error on upload
am trying to upload files but am gettin ` Error uploading image [AppwriteException: Network request failed]` ```ts export const uploadDriver = async (file: Ima...