고객사 API 더블 도메인 CORS BLOCK 질문 | Community
Skip to main content

고객사 API 더블 도메인 CORS BLOCK 질문

  • September 22, 2023
  • 1 reply
  • 0 views

안녕하세요 Zendesk 에 APP 을 설치후 고객사API 를 요청하면 CORS 오류가 발생합니다

이 현상이 현재 브라우저(testwas) 도메인에서 시작을 했으나 실행은 zendesk도메인에서 실행되어 CORS 정책으로 인한 블락입니다.

하여 zendesk 자체에서 실행되게 하여 CORS 오류가 발생하지 않게 방지하는 방법이 있는지 문의드립니다.

 

Access to XMLHttpRequest at 'https://qua.api.loreal.net/apac/product/products/v1/L8094600?MANDT=client' from origin 'https://testwas.hsitx-ccc.com' has been blocked by CORS policy: Request header field sourcesystemid is not allowed by Access-Control-Allow-Headers in preflight response.

 

1 reply

Hello,
 
To avoid this problem, you can have the app send the request via our ZAF proxy server.  We break this down in Making a request to a third-party API.