Access-Control-Allow-Origin on SSO url by external ID


#1

In our Unity WebGL game we’d like to get data from the forum.
When I do a request to the forum from the game I get the following error.

XMLHttpRequest cannot load http://forum.curvefever.io/users/by-external/1.json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://curvefever.io' is therefore not allowed access.

I don’t really know much about CORS so I’d like to know if there’s something I can do to make this work.
I’ve looked it up a little but I mostly found that the location that sends the request has to add a header and I’m not really in control of that.


(Rafael dos Santos Silva) #2

#3

My bad didn’t read that.
Thanks for the reply.


(Robin Ward) #4