hello !
i'm trying to play a video stored on a storage bucket, where the bucket has the read permissions only for user with the premium label. I'm authenticated everything is working, i see the labels using account.get().
const url = storage.getFileView("videos", file_id); this call is working, i can get the url with url.href but when fetching it i get a 401 unauthorized.
Looking at the request (see attachment), no cookies or header to authenticate are sent, so it's normal that i get a 401.
everything was working before the cloud upgrade to v1.15, and i'm using createemailpasswordsession to auth.
how can i fetch the video file ?
thanks !
How do you fetch it? manually?
If so, because you're on localhost you won't get the cookies
Recommended threads
- Cant get realtime working
Hey I nned some help with realtime a gain. I was using client.subscribe(...), and i found out that its depricated then i believe realtime.subscribe(...) is the ...
- Firebase app import
I'm **very** new to appwrite and I just set up appwrite with docker and I'm trying to import a Firebase app I have set up but it's erroring and I don't really k...
- Documentation That's Not Useful
Collections show me this link to explain what the activity tab is for. https://appwrite.io/docs/products/databases/databases the documentation honestly is not h...