cancel
Showing results for 
Search instead for 
Did you mean: 

How to provide access to SFAPI for others domains/origins? CORS

joo_mariano2
Participant

Hello,

I need to provide access to SFAPI for an application in the another domain.

I'm receiving the CORS error:

"has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is"

Is there a way to enable this access?

I need to put an information in header response of SFAPI like this:

SetResponseHeader Access-Control-Allow-Origin *

But where I can do this configuration?

Thanks,

João Mariano

Accepted Solutions (0)

Answers (0)