cancel
Showing results for 
Search instead for 
Did you mean: 

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 - Need Zoom Events/Sessions Help? Visit Z-SPAN.com.
Please click Accept As Solution if this helped you !

Agree, with you