#[SOLVED] cors issue

23 messages · Page 1 of 1 (latest)

silver raft
#

Hey! I just hosted my website on my domain, and i made a web platform with the domain set. However, when i try to do smth like reset password it says

Access to fetch at 'https://cloud.appwrite.io/v1/account/recovery' from origin 'https://www.proxilink.info' 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. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

I dont know where the localhost hvalue is coming from, can you please help?

tawdry acorn
silver raft
#

i think it may be happening because i am sending it from my mobile app i am making on expo (whcih im running locally rn) and then it sends you to our website hosted on another domain to reset the password

#

do you think that is why?

tawdry acorn
silver raft
#

it says this on network

#

and my project id and all is set

tawdry acorn
silver raft
#

that makes a difference?

#

gotcha

#

lets test

#

oMG

#

god bless you steven

#

🙏

#

thank you sir, appreciate the fast help 🫡

tawdry acorn
arctic ermine
tawdry acorn
#

[SOLVED] cors issue

arctic ermine
#

this issue happened on safari only, can you help me figure out this? thanks a lot