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
- Error upgrading from 1.8.1 to 1.9.0
DO Self-hosted server failed to upgrade with this error "Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.42". U...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- Custom API domain is unreachable
Earlier my custom api domain was working fine. Now it seems to be offline without a trace a few hours later. I didn't change anything, all the relevant DNS reco...