I have a specific set of questions about OAuth for Zoom.
Which App Type (OAuth / Chatbot / JWT / Webhook)?
I’m in the process of writing a prototype batch application that needs to:
- Authenticate/authorize to Zoom
- Pull and process data
I already have everything working correctly for JWT, which is simple and straightforward. With JWT, I can run in batch and all is well.
However, I am not sure I correctly understand how OAuth is supposed to work in this context. According to the documentation:
- Step 1: Request User Authorization - GET
- Step 2: Request Access Token - POST
I’ve followed the directions and provided the appropriate query parameters for Step 1, but no matter what I try I’m not able to get this to work in batch. It always requires a user to interactively log in (using a web browser), after which I’m issued an authorization code.
This obviously will not work for a batch application. I need it to be programmatic, without user interaction.
So far, my stop-gap for this prototype has been to:
- Interactively log in to Zoom using
- Make a note of the authorization code that is issued
- Provide that authorization code (as an environment variable) to my batch application
- Let my batch application do the POST
https://zoom.us/oauth/tokenusing the authorization code from above
- Batch application receives the access token
- And so on… make more calls, get data, etc.
Could someone help me understand what I’m missing? Should I be able to make a programmatic (read: no human involvement, no web browser) request to
https://zoom.us/oauth/authorize? Or does it always involve a human, by design? If it does always involve a human, then do the authorization codes expire?
Thanks in advance for your help.