Unable to fetch code from https://zoom.us/oauth/authorize

Description

Unable to fetch code from Error - Zoom

Browser Console Error
when we are sending a GET request from our server to this URL “https://zoom.us/oauth/authorize?response_type=code&client_id={our_cilent_id}&redirect_uri=https://example.com/interview/zoom-auth-callback/
in response to this zoom is sending us Sign in page HTML.

Which Web Meeting SDK version?
2.9.0

Meeting SDK Code Snippets
def get_code():
url = “Error - Zoom
code = requests.get(url, params={
‘client_id’: xxxxxxxxx,
‘redirect_uri’: https://example.com/interview/zoom-auth-callback/
})
return code

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Go to https://marketplace.zoom.us/
  2. After signing in
  3. Send a GET request to “https://zoom.us/oauth/authorize?response_type=code&client_id={our_cilent_id}&redirect_uri=https://example.com/interview/zoom-auth-callback/
  4. In response to this zoom is sending Sign in page html.

Screenshots

Device (please complete the following information):

  • Device: Lenovo V14
  • OS: Ubuntu 18.04
  • Browser: Google Chrome
  • Browser Version: 107.0.5304.110

@Flexingit_Dev ,

Welcome to the Zoom Developer Forum! Based on the details, it seems you are making a Get Authorization endpoint. Instead, you would want to make a post request. For reference, check out our Sample OAuth app: