Skip to main content
Question

clarity on the steps to get the authorization code to then get the refresh token

  • July 25, 2024
  • 1 reply
  • 21 views

Sorry I’m new here but I need assistance, this request to get a authorization url is coming back 200 response and it gives me a link, i click on the link and it goes to my companies actual page and then it says 404. I just added this to the developers → settings → oauth section for uri:‘https://mycompany.com/oauth/callback’ but shoudl this be different?

 

 

import requests


url = "https://platform.ringcentral.com/restapi/oauth/authorize"
params = {
    "client_id": client_id,
    
    "redirect_uri": ‘https://mycompany.com/oauth/callback,
    "response_type": "code"
}

print(client_id)

# Make the POST request
response = requests.post(url, data=params)
print(response)
# Print the response
print(response.status_code)
print(response.text)

 

1 reply

PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • 2344 replies
  • July 25, 2024

See my response from your other similar question.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings