07-13-2022 02:45 AM - edited 07-18-2022 04:23 AM
I am trying to build a meetings portal using webex meetings widget. I am facing the following error -
Access to XMLHttpRequest at 'https://identity.webex.com/identity/scim/v1/Users/me?showAllTypes=true' from origin 'http://localhost:3000' 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.
My app is a CRA with Node(express) backend. Any help would be highly appreciated !
07-13-2022 08:35 AM
This CORS error can happen if you're trying to access the identity service from a source that isn't direct. For example, it does not support being accessed from an iframe.
07-18-2022 04:22 AM - edited 07-18-2022 04:22 AM
I am just trying to add the WebexMeetingsWidget as below into my code and run my own instance. The widget is internally making calls to identity service.
<WebexMeetingsWidget
accessToken={token}
meetingDestination={destination}
className={`webex-meeting-widget-demo wxc-theme-${theme}`}
layout={layout}
fedramp={fedramp}
/>
Am I missing something ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide