Zoom API -- OAUth

@tommy me again! It appears our developer (@rnemani) is having some issues using the OAuth. We are using the OAuth for our sandbox because we are using the JWT for production.

happen to know the responses to these questions:

  1. I am facing the issue when authenticating with zoom.
    I am using the below params in order to authenticate. But I am getting 302 status code.

response_type=code
client_id=OnGr53WjSBm6M9zK8UMtTA
redirect_uri=https://www.jstreet.org/

Regarding fetching the user answers from a webinar,
The link you provided will provide us the questions on the webinar form. It doesn’t provide us the answers.

Is this the correct API to bring in the necessary details - https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrants

  1. Final question - If we get OAuth to work, this will allow the live data to continue flowing in production Salesforce using JWT and OAuth in production? We are wanting to test our configurations in Sandbox before making live in production.

We are hoping to get this solved this week. Thanks again for your help.

Many thanks
Shawn

Hey @shawn_jstreet,

Can @rnemani post here so I can work directly with them on the issue?

Thanks,
Tommy

Hi @tommy
I am trying to make a callout from salesforce to zoom to get the answers provided by users when registering for webinars. My idea is to get the auth token and then make 2nd call to get the user responses.

I made an HTTP callout to authenticate with zoom by making a callout (GET) to the following endpoint
https://zoom.us/oauth/authorize?response_type=code&client_id=<my_client_id>&redirect_uri=https://www.jstreet.org/

I was expecting an auth token to be received, but I got HttpResponse[Status=null, StatusCode=302]

Let me know if you need more info.

@shawn_jstreet

@tommy we have the same issue. Please let us know how we can test this flow of creating meeting using Oauth flow until our app is approved by Zoom store. As currently we have this screen https://w3tls.net/5eVuuN46bd184204a9d7bc89207b60833af120.png

Hey @rnemani,

You need to direct the user to that url in a browser, not make a GET request to it.

Thanks,
Tommy

Hey @cto3po,

Only users on your own Zoom account can install the up until it is published on the Marketplace.

If you want a private test beta URL, you can see this guide:

Thanks,
Tommy

Hi @tommy

Is there any way we can do the authorization from code and get the necessary data from Zoom into Salesforce?

To give you background on our problem:
Whenever a person signs up for a webinar, the user data is getting synced into salesforce. - This logic is in place. Zoom is pushing the information into salesforce.
However, the information doesn’t contain the custom field values entered by the user when signing up for the webinar. Only the standard fields like name, email are being synced into salesforce.
I am trying to bring all the information (both standard and custom fields) entered by the user while signing up for a webinar into salesforce.

What would you suggest is the best way to achieve this?

@shawn_jstreet

Hey @rnemani,

If the meetings are always hosted by your account, you can use your JWT Token to call the List Registrants API.

Or you could use our Webinar Registration Created Webhook.

Thanks,
Tommy

@tommy

This did not work. Thank you for our help. We are just closing out this this particular project as we are not able to directly send this data into Salesforce. I’ll allow @rnemani explain if he has a moment, we are past deadline and just going to consider this a wash.

Much gratitude.
Shawn

Hey @shawn_jstreet,

Sorry to hear that. Please let me know if I can help with anything in the future. :slight_smile:

Thanks,
Tommy