On my NextJS app, I display a bunch of images and videos uploaded to the storage bucket which has team-based permissions. These are working just fine on normal use, but when I tried to login to my NextJS app from an incognito tab, the images/videos aren't loading. They give me a permission error. The only way I could get the files to show is if I add read permissions to either Any or Guests for permissions. But this means that the files are viewable by the public and you don't have to be logged in to see them, you just have to know the URL. I don't want to do that though and I'd like to keep it so that only members of a team can view them.
If your problem is that you login but you still cannot access to the link in incognito, that's because probably your appwrite instance is not running into the main domain you're using, so due to that, appwrite needs using third party cookies, who are blocked in incognito if you have the switch being shown when you open the incognito tab (enabled by default)
Recommended threads
- trying to figure out how to activate my...
please help
- Bug: TOTP MFA verification always fails ...
*Bug: TOTP MFA verify always returns `user_invalid_token` (Cloud 1.8.1, Frankfurt)** Project ID: `68dd48440003e537d849` SDK: `appwrite@18.2.0` (also tested wit...
- SSL Certificate Issuance Failed
When we first deployed our site using appwrite and a custom domain everything was working, but it seems like the SSL certificate never got renewed. I tried dele...