Authenticate User using REST API using C# - from server side

Hello,

Description
We are trying to create a server-side application to create a meeting. To call the REST API we need to get the authorization token. We need assistance to get the authorization token from the server-side without using the Redirect URL. When we are calling the authorization API “https://zoom.us/oauth/authorize?response_type=code&client_id=ps82Oy_NQ9eFDwkOG3JkVw&redirect_uri=https%3A%2F%2Fyourapp.com” , in the resposne we are getting the Zoom Login page

Error
When we are calling authorization URL, in reposne we are getting the HTML of Zoom login page. We need to get the Access Code in the reposne.

Which App Type (OAuth / Chatbot / JWT / Webhook)?
App Type : OAuth

Which Endpoint/s?

Screenshots (If applicable)

Thanks

Rajeev

Hey @crajeevc,

It sounds like you should use the JWT flow instead of the OAuth flow.

Simply generate a JWT Token here and pass it in as the Authorization Bearer:

Thanks,
Tommy

Hello @tommy ,

As you suggested, we have generated JWT token and passed as the Authorization Bearer. This works fine for us!!

Thanks for your help.
Rajeev

1 Like

Happy to hear! :slight_smile:

Let us know if you have additional questions!

Thanks,
Tommy