OAuth Python Not working | Community
Skip to main content
Newcomer
February 20, 2023
Question

OAuth Python Not working

  • February 20, 2023
  • 1 reply
  • 0 views

I wrote the below script to get the Access Token for an app that I am working on.  The status code is 200 but the URI response  I am getting is "https://zoom.us/signin?_x_zm_rtaid=".  I verified my credentials so it feel like there is some type of permissioning issue.  Any help would be appreciated.

 

import requests

# Set the app credentials
client_id = "YOUR_CLIENT_ID"
client_secret = "YOUR_CLIENT_SECRET"
redirect_uri = "YOUR_REDIRECT_URI"

# Set the authorization endpoint URL
auth_endpoint = "https://zoom.us/oauth/authorize"

# Make a GET request to the authorization endpoint with the app credentials
response = requests.get(auth_endpoint, params={
"response_type": "code",
"client_id": client_id,
"redirect_uri": redirect_uri
})

# Print the URL of the response, which should include the authorization code
print(response.url)

    1 reply

    Ray_Harwood
    Community Super Champion | Customer
    Community Super Champion | Customer
    February 21, 2023

    Welcome to the Zoom Community, @Bing29.

     

    I think this is a question more appropriate for the Developers Forum at https://developers.zoom.us/

    Newcomer
    February 24, 2023

    Agree, with you