HI All,
My use case story:
I have a web application in development phase, which needs to integrate with the zoom api.
The users in my platform needs the options to make a video meeting in the future, and the meeting will occur inside my web application, using client/component view.
With regarding to Zoom - my users split into:
- users without existing zoom account.
- users with existing account which not connecting to my zoom account (aka external users).
Zoom tools:
After deep learning of the zoom api, I found the Meeting SDK is the best options to my case.
When a user will ask to schedule a meeting inside my platform - he will redirect to OAuth flow url, and
authorize my zoom app, he will create a zoom account if not exists or login if already exists - this part is taking care by zoom platform.
After authorize my app - the user will be redirected back with a code, and I’ll switch the code for access_token/refresh_token for future use.
Development steps & encounter problems:
What I manage to make so far is:
- Create Zoom meeting SDK app.
- redirect the user to authorize my app from localhost environment using Testable Url.
- connect my localhost to ngrok to bypass the localhost issue for redirect_uri by replacing localhost:port/index.html to -
https://zoom.us/oauth/authorize?client_id=MY_CLIENT_ID&response_type=code&redirect_uri=https://XXXX.eu.ngrok.io/index.html - when I’m login with external user zoom account to authorize my app, I get an “Application not found, It may have been deleted or you don’t have permission to view it right now.”
- when I’m performing the login with my account, which create the zoom meeting sdk app, I redirected back with a code in the url.
but when I’m trying to replace the code for access_token/refresh_token when fetching https://zoom.us/oauth/token, I get an error response of -
“unsupported_grant_type”.
The expected results:
- External user will see the app when redirecting, authorize the app, and redirect back with a code.
- Send the code and app credentials to https://zoom.us/oauth/token - return access_token/refresh_token.
- Make this work when zoom meeting app is not publish if possible.
Any help will be much appreciate!