cancel
Showing results for 
Search instead for 
Did you mean: 
Important updates from Zoom Support:
  • Starting February 3, 2025, Zoom Phone customers must add their phone numbers to an approved 10DLC campaign in order to keep using SMS/MMS capabilities on their numbers.

  • Introducing more live support options! More Zoom customers now have access to live agent chat support. Sign in and visit our Contact Support page to see all your available support options. We’re here to help!

OAuth Python Not working

Bing29
Newcomer
Newcomer

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)

2 REPLIES 2

Ray_Harwood
Community Champion | Customer
Community Champion | Customer

Welcome to the Zoom Community, @Bing29.

 

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


Ray -- check out the GoodClix website or the Z-SPAN website.

Agree, with you