lee-l12187 avatar image
lee-l12187 asked davidson02 commented

How do I reset the "client secret" on the credentials of a production web app?

I am getting unexpected subscriptions created daily at 3AM (probably the result of a cron job) from an unknown source (but probably a previous developer). So I want to reset the client secret, without disruption the production app. How can I do this? Alternatively, is it possible to identify the origin of where the subscriptions are being created?

getting started
1 comment
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Byrne Reese avatar image Byrne Reese ♦♦ commented ·

Lee - this would make a great feature. We really should have a way to refresh client secrets without having to create a completely new app. Would you create an idea in our Ideas Portal?

0 Likes 0 ·

1 Answer

anton-nikitin avatar image
anton-nikitin answered davidson02 commented

The simplest way to do this:

  1. Clone your existing app
  2. Graduate your app. If you must, but we don't recommend it, ask developer support for assistance in activating your new app in production
  3. In your code, change the client ID/secret to new one
  4. Release this change to production
  5. Finally, suspend the old app
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

How to World avatar image How to World commented ·

Nice suggestion Anton.

0 Likes 0 ·
davidson02 avatar image davidson02 commented ·

That's a brilliant idea!

Do you think are drywall and sheetrock the same thing?

0 Likes 0 ·

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys