Back

[SOLVED] custom domain Access-Control-Allow-Origin

  • 0
  • Web
BloodThermic
24 Jun, 2023, 06:28

I am getting this error when I have setup everything on appwrite. Domain works and everythging.

Access to XMLHttpRequest at 'https://appwrite.tidymaidsoffrisco.com/v1/account/sessions/email' from origin 'https://test.tidymaidsoffrisco.com' 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.

TL;DR
The user is experiencing a CORS error with their custom domain setup on Appwrite. They are receiving the error message "Access to XMLHttpRequest at 'https://appwrite.tidymaidsoffrisco.com/v1/account/sessions/email' from origin 'https://test.tidymaidsoffrisco.com' 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." Another user asks how the issue was solved. Solution: The user needs to update the 'Access-Control-Allow-Origin' header on their server to match the correct origin
BloodThermic
24 Jun, 2023, 07:02

[SOLVED] custom domain Access-Control-Allow-Origin

_alnes_
19 Jul, 2023, 15:57

@BloodThermic How have you solved it ?

_alnes_
19 Jul, 2023, 16:01

okay!

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more