I develop a client-side (browser, html/js) web application, which needs to use the ZoomAPI (users, contacts, meetings, etc.). I defined the oAuth private account-level application in the Marketplace. The redirection URL is defined with Ngrok. I successfully pass the Zoom Login and redirected back to my app with the authorization code value as a query string parameter. Anyway, when I’m trying to request access token, I receive various errors, usually 400.
I tried to simulate same call with Postman and it just works! NOTE: The regular oAuth recipe (not PKCE) doesn’t work absolutely both from my code and from Postman as well!
Please pay attention, that what I need:
The really working example for client-side oAuth-PKCE flow.
Documentation explaining, how to use Zoom API from browser web client-side application, how to pass the auth (1-2-3-…).
Please do not point me to existing documentation and GitHub hosted samples! I have read it already.
Can you say me, please, is it possible to authenticate the client-side web app without a server? That’s the question.
We have read only access to the certain organizational REST service. The app will be hosted from a CDN. It will be static HTML/JS app powered with Angular or Aurelia framework. The app will embed Zoom Contact Book and should provide the user with ability to invite a member of Zoom Account into on-going meeting directly, without to send an invitation.
Yes, I’m talking about the web application, which don’t need to be authenticated on server side, only on client. I need list all users belongs to my account, e.g. I need to be able to call https://api.zoom.us/v2/users from my web client directly. OK? The problem is in Zoom oAuth flow. I can pass “authorize” step and obtain a code, but, when I call to /token endpoint, I receive 400 error (bad request):
I am not very familiar with typescript & cannot help you in much detail. I guess getBase64Token() is the issue? What does it return? What does this function do? I guess it is a function similar to a javascript function?