When using the RC dev OAuth server I get "Invalid Client_ID" when I try to authenticate.
I am using the Client ID from my app
Do I need to encode this in anyway? If so how would I encode this in Python 3 lets say?
I have tried using base64 lib with no luck
You can check few examples here with python.. hope this will help you
https://github.com/ringcentral/ringcentral-python
https://ringcentral-tutorials.github.io/call-ringcentral-apis-native-python-demo/
So it turns out I had a typo in the Client ID and now I am past this error.
I do have one followup question. Where do I get the "Application code grant" code to put into the post?
Does the /restapi/oauth URI on the dev portal have the ability to provide this?
I am trying to use the Python API
https://github.com/ringcentral/ringcentral-python
Any pointers here - I do see an internal function for this purpose Platform._request_token but haven't been able to get it to work
I am using Authorization code
should I follow:
https://developers.ringcentral.com/api-reference/Authorization
Do I need any params (i.e. client_id, response_type, redirect_uri, brand_id, state, prompt) or is the "Authorization" : "Basic base64encode(client-ID:client-secret)" header only needed?
Yes for getting token you need to encode both client Id and client secret in base64 format in Authorization header in normal API call as follows:
Authorization: Basic <clientId:client secret in base64>
Here are several examples of how to use Authorization Flow in a variety of languages: https://github.com/grokify/ringcentral-demos-oauth
Also oauth url should be http POST
A new Community is coming to RingCentral!
Posts are currently read-only as we transition into our new platform.We thank you for your patience
during this downtime.
Try Workflow Builder
Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!Try RingCentral Workflow Builder