Recent searches


No recent searches

zendeskプライベートアプリでブラウザコンソールに以下のエラーが発生します。



Posted Jan 15, 2024

zendeskプライベートアプリ内で、Azure認証を行い、取得したtokenでAzure管理下のアプリのAPIにアクセスしようとしているのですが、プライベートアプリを実行後ブラウザのコンソール画面に以下のエラーが出ます。

Access to XMLHttpRequest at 'https://login.microsoftonline.com/<テナントID>/oauth2/authorize?response_type=code&client_id=<クライアントID>&scope=openid&nonce=718561a1-3910-4fbd-a6d4-854670094897&redirect_uri=https%3a%2f%2fmyapp.msappproxy.net%2f&state=AppProxyState%3a%7b%22InvalidTokenRetry%22%3atrue%2c%22IsMsofba%22%3afalse%2c%22OriginalRawUrl%22%3a%22https%3a%5c%2f%5c%2fmyapp.msappproxy.net%5c%2fmyapp_API%5c%2frest%5c%2fmyapp_API%5c%2fGet%3fInstNo%3d<mySN>%22%2c%22RequestProfileId%22%3a%22810d42c0-6f66-456d-a56b-d6b12f9ea7ed%22%2c%22SessionId%22%3a%xxxxxxxxxxxxxxx%22%7d%23EndOfStateParam%23&client-request-id=xxxxxxxxxxxxxxxxxxxx&claims=%7b%22id_token%22%3a%7b%22xms_cc%22%3a%7b%22values%22%3a%5b%22CP1%22%5d%7d%7d%7d' (redirected from 'https://<subdomain>.zendesk.com/proxy/v2/apps/secure/https%3A%2F%2Fmyapp.msappproxy.net%2Fmyapp_API%2Frest%2Fmyapp_API%2FGet%3FInstNo%3DmySN') from origin 'https://subdomain.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.

管理センター > zendesk supportアプリ > 対象のアプリの[設定の変更]からOauth認証は✅になっておりますが、このエラーは認証の問題なのでしょうか?
また、トークンがちゃんと取得出来てない場合も✅マークがつくのでしょうか。

認証の問題の場合、Microsoft Entra管理センターの対象アプリの設定の中で、プラットフォームはSPA(シングルページアプリケーション)を選択しないといけないのでしょうか?


0

1

1 comment

image avatar

Dane

Zendesk Engineering

この懸念はすでにサポート チケットで解決されているようです。 解決に向けて引き続き同僚と協力してください。

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post