Rank 1: Thread
So, I have the same problem as described here. The authentication setup follows this Appwrite tutorial.
Unlike the person from the topic above, I have a self-hosted Appwrite instance.
Here are the versions I’m using:
• Appwrite 1.6
• Nuxt 3.12
• Node 20.16
• Latest Appwrite SDKs
Authentication works fine on its own, but when I try to access a file that has read(users) permissions, I get an error.
I have an a_session cookie for the domain (I’ve tried different setups, e.g., localhost for both the frontend and self-hosted Appwrite, as well as Appwrite on stage-api.domain.com and the frontend on domain.com using the hosts file).
The cookies (a_session and a_session_console) are attached to the GET request, but the result is always the same: a 404 error, stating “you don’t have permissions”. Third-party cookies are enabled as well.
What else should I check? Sorry for duplicating the topic, but I still haven’t found a solution.