Issue On Zoom Meeting SDK Sample JavaScript | Community
Skip to main content
Newcomer
April 12, 2023
Question

Issue On Zoom Meeting SDK Sample JavaScript

  • April 12, 2023
  • 0 replies
  • 6 views

we are implementing Zoom SDK on the web for Zoom meetings on our client site.
I am tried https://github.com/zoom/meetingsdk-web-sample
these codes are on a local server but it's not working.
when clicking on Join Meeting Button it will be displaying an error like below:
Access to fetch at 'https://zoom.us/oauth/authorize?response_type=code&client_id=.......&redirect_uri=https%3A%2F%2Fwww.chtesttt.cn%2F' from origin 'http://localhost' 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. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

How to resolve this issue? and how we will do meetings join or host from the website?