hello everyone , i have a problem with coockies , when i want to get user information using the account.get() promise , i got an infinite amount of errors in my console that saying , Third-party cookie will be blocked. Learn more in the Issues tab, I am using nextjs , and i didn't find a solution for this problem , can someone please help me
Hi š This warning means a localStorage is used instead of cookies, which is les secure. Not unsecured, but less secure.
Solution to cookie issue is to have Appwrite endpoint be on a subdomain of your frontend. If you app is on myapp.con, then you need Appwrite to point to appwrite.myapp.com, for example. Doing this domain setup follows 1st party cookies policy.
Regarding the spam, thats unusual. Please try to add some console logs to investigate flow of your application. It might be getting stuck in some recursion, causing the spam and tiny DoS attack on your project
should i add appwrite endpoint in my appwrite cloud ?
To set up the custom domain, you need to go to project settings and add a domain there. This makes Appwrite API accessible on your custom subdomain
Recommended threads
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...
- Project Paused Despite Daily Active Usag...
I noticed that my project was automatically **paused**, even though it is actively being used. The project is an **attendance application** that is used daily b...
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...