
hey iam trying to connect my frontend with appwrite . i have deployed my frontend in vercel and backend appwrite cloud. When iam trying to authenticate using my domain name i was unable to authenticate. if iam using vercel default link without domain iam able to authenticate.

Access to XMLHttpRequest at 'https://cloud.appwrite.io/v1/account' from origin 'https://www.printfc.in' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://localhost' that is not equal to the supplied origin.

iam getting this error

Please share screenshots of the web platforms you added to your Appwrite project

Solved

[SOLVED] CORS error

What solved it ?
Recommended threads
- Sharing cookies
Hi, I’m using Appwrite Cloud, and I have a setup where my Appwrite backend is hosted on a subdomain (e.g., api.example.com), while my frontend (Next.js app) and...
- Organization not exists anymore
Hello! We have a problem with a cloud database. We are on the Free plan, but after a refresh the site wants me to create a new organisation, and I not see the c...
- JSON and Object Support in Collection do...
I am working with Next.Js and Appwrite Cloud, I am relatively New to Appwrite but i have noticed there is no direct support of JSON and Object support in attrib...
