tommy
(Tommy Gaessler)
November 25, 2019, 9:16pm
2
Hey @palanirajan70 , thanks for posting and using Zoom!
I believe this is a Cors issue . Zoom does not allow the frontend to make requests to our API.
I suggest using a backend Node.js Server to make requests to the Zoom API. For example:
Your Frontend and Web SDK makes http request to your backed server > your backend server makes request to Zoom API > Zoom API responds back to your backend server > your backend server responds back to your Frontend and Web SDK.
Thanks @gokul ,
First of all, calling Zoom APIs via the frontend (jQuery) is not supported. I suggest creating a Node.js server to make http requests to the Zoom API.
What is your full use case so I can provide advice on what type of Zoom App to create (JWT vs. OAuth )?
Nevertheless, I have fixed your code, and now you can get an access_token, but when you call the create meeting endpoint you will get a Invalid CORS request error because we do not support https://cors-anywhere.herokuapp.com/
(…
Let me know if this helps!
Thanks,
Tommy