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
JWT access token failure
Tags: authentication
Sep 12, 2023 at 1:52pm   •   1 replies  •  0 likes
IT Department

I have created a JWT token for my ungraduated app. I am trying in Postman the POST method to obtain an access token using this process: https://developers.ringcentral.com/guide/authentication/jwt-flow


When I use the sandbox URI of https://platform.devtest.ringcentral.com/restapi/oauth/token

I get error OAU-336: "Audience claim value is not equal to token endpoint URL".


So I tried Production URI of https://platform.ringcentral.com/restapi/oauth/token

Which then gives me a different error OAU-165: "Sandbox client is not allowed".


I have triple checked and my credentials are alright, I am passing in all necessary authorizations and parameters. I must be using the wrong URI but haven't found any others to try.

1 Answer
answered on Sep 12, 2023 at 2:18pm  

There must be a mistake in your code where you use the JWT to exchange for the access token. Submit a dev support ticket to get help.


 0



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