News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
My public app in prodcution suddenly getting 400 bad requests paid users from other accounts are not authorising
Tags: errors
Oct 28, 2021 at 10:45pm   •   4 replies  •  0 likes
Mohan Rao

Hello Team,


Our app public app (live in Production) and is working fine for long time but suddenly we are getting below mentioned response and we are using RingCentral SDK, 3-legged authorization flow

{
"error": "invalid_client",
"errors": [
{
"errorCode": "OAU-123",
"message": "Client authentication is required"
}
],
"error_description": "Client authentication is required"
}


and our client id is: MPI3D5LuTHqVlzzUJcwvtA


Thanks in advance




on Nov 2, 2021 at 9:47am   •  0 likes

Is this affected a certain user or all users?

3 Answers
answered on Nov 3, 2021 at 12:15pm  

After checking with the engineers. I learn that recently we reenforce OAuth with the client id and client secret in the auth header. So if your current auth code does not include the client secret, it will fail with the error codeOAU-123 as you reported.
https://developers.ringcentral.com/api-reference/Authorization

For confidential clients (server applications) client_id is not enough, you need to provide Authorization header (containing Base64-encoded client_id and client_secret) or client_assertion parameter via JWT client request.


Please update your oauth header and try again.

Let me know if this helps.


 0
answered on Nov 2, 2021 at 12:06pm  

BrightGaugeSoftware : Asking the support team to take a look into the ticket : 13889695

@Mohan , Have you opened Dev Support ticket ?



 1
answered on Nov 1, 2021 at 11:44pm  

Also I am getting same error with 3-legged authorization flow(Server side web app) settings. created ticket as well but no response from them.
1635835521936.png


 0
on Nov 2, 2021 at 8:12am   •  0 likes

What is the ticket number?

on Nov 2, 2021 at 8:26am   •  0 likes

Case number - 13889695.
It got closed without resolution.

on Nov 2, 2021 at 8:31am   •  0 likes

[ { "errorCode" : "OAU-123", "message" : "Client authentication is required" } ], "error_description" : "Client authentication is required" }.


This is the error we are getting.

on Nov 2, 2021 at 9:48am   •  0 likes

Let me check with the support team. Meanwhile, can you share the app client id? And let me know if this impacts all users or just a certain user?

on Nov 2, 2021 at 9:56am   •  0 likes

Thanks @Phong Vu

Client id(Production) - dA4ZFiACRYqFrwh7yf4TMg

Client id(Sandbox) - EfRwWhJeQQWDQNC_xJya_g

In both environment we are getting this.

Yes it's impacting all the users whenever they try to Authorize in our application.

We are getting this error after user gives consent and then while calling token API.

on Nov 2, 2021 at 10:46am   •  0 likes

How do you implement the OAuth? Do you use a RingCentral SDK? I just test using your app credentials and run my own code to login and I was successfully login the app with 2 different production accounts.

Note: I was using your local redirect uri "/api/ringcentral/redirect/"

on Nov 2, 2021 at 10:13pm   •  0 likes

We are using request_oauthlib Python lib for our all Oauth2 Intigrations.
If you are able to hit token API and why are we getting issues?

We are getting issues in local as well as production. So it's impacting our all business partners.
Please let us know what we can do for this.



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

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us