In the documentation for OAuth 2.0 authorization code flow there seems to be a discrepancy: https://developers.ringcentral.com/guide/authentication/auth-code-flow
In Step 3 it states that client_id is a required parameter:
|Required. Enter your application key (Production or Sandbox) here
But in the sample request provided few lines later it does not list this parameter. When we make a call without this parameter we get the accurate response from the API. Can we get a definitive answer about whether this parameter is required? I want to avoid putting a solution in place that will stop working once someone at RC discovers this gap.
Couple other discrepancies:
1. In Step 3 there is no mention of a header named "Accept", but the sample shows a header:
2. In "Step 3 : Auth token response" there is no mention of a return parameter "endpoint_id", but we are receiving a value for this parameter in the response body:
Good documentation saves us hours of troubleshooting and potential issues down the road!