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
Needs advice on how to test integration on a sandbox instance
Tags: developer sandbox, security
Apr 16, 2024 at 4:11am   •   1 replies  •  0 likes
Anton Otkidych

We created a public app to allow users to login the app using JWT. It turned out that the app was promoted to production and now upon an attempt to generate a new sandbox JWT token by the client for the app he gets an error 'Invalid Client ID'. It appears that the reason for the error is that we used the production app client ID (before it was sandbox client ID), but conversely, I see that production and sandbox client IDs are equal. Could you please advise what app client ID should client use to generate sandbox JWT?1713265810526.png

1 Answer
answered on Apr 16, 2024 at 8:46am  

There might be some issue with the JWT token generation for sandbox environment. But it could be also an expected behavior. As for testing your own apps in sandbox environment, you can create a JWT token for all app under your account (sandbox account) instead of creating for a particular app specified by an app client id.

However, since your app is a public app, your customers can generate a production JWT token for that particular app. Though, for public apps, I recommend to use the 3-legged auth flow instead of JWT as it is easier for customer to authenticate the app themselves.


 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