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
- Custom Domains
Hi All, Should be a quick config issue. I'm setting up custom domains on the hosted version. I have verified the domain with the CNAME but appwrite isn't gene...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...