최근 검색


최근 검색 없음

Mikael Hedlund's Avatar

Mikael Hedlund

가입한 날짜: 2021년 5월 13일

·

마지막 활동: 2021년 10월 16일

팔로잉

0

팔로워

0

총 활동 수

4

투표 수

0

플랜 수

2

활동 개요

님의 최근 활동 Mikael Hedlund

Mikael Hedlund님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk APIs

Hi Greg,

Finally got it working by disabling cors to obtain the token and then activating cors for the "data call" itself.

Thanks for your quick response and commitment :-)

/Mikael

댓글 보기 · 2021년 3월 26일에 게시됨 · Mikael Hedlund

0

팔로워

0

투표 수

0

댓글


Mikael Hedlund님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk APIs

Hi,

Don't know if this is the right thread but i'm having trouble using cors from a ticket side bar application.

The application itself doesn't call any ticket api's instead i only want to do an external api call from a "browser context" instead of the Zendesk server origin.

So when not using cors (cors=false), the api call works fine except that the origin is from a Zendesk server that can have a lot of different ip's making it hard to allow for firewall blocking.

Instead i want it to be "browser initiated" api call with a known browser ip managed by the firewall but i can't make it work :-(

I receive the following error when cors is enabled (true):

Access to XMLHttpRequest at 'https://********.lindex.com/token' from origin  https://lindex********.zendesk.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

댓글 보기 · 2021년 3월 26일에 게시됨 · Mikael Hedlund

0

팔로워

0

투표 수

0

댓글