question

Joshua Blavins avatar image
Joshua Blavins asked Phong Vu commented

How do I resolve oAuth issues on a promoted app?

We have developed an app to pull event details to a website that is about to launch; these work in sandbox and we have promoted the app to prod. However, now we receive - invalid user credentials for the app on the production environment. We have changed the calling URL and the authorization token.

rest api
1 |3000

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

Phong Vu avatar image
Phong Vu answered

You must login with user's credentials of users in the production. And make sure you are using the app client id and client secret for the production.

If you can login https://service.ringcentral.com with that user's credentials, you must be able to login your app with that credentials.

1 |3000

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

Joshua Blavins avatar image
Joshua Blavins answered Phong Vu commented

Hi Many thanks for the quick response; we are generating a token with production user credentials (and have tested on another user credentials) and app client id and client secret

5 comments
1 |3000

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

Phong Vu avatar image Phong Vu ♦♦ commented ·

And you still cannot login? How about the extension number? If you login with a main company number, make sure the extension number is correct.

0 Likes 0 ·
Joshua Blavins avatar image Joshua Blavins Phong Vu ♦♦ commented ·

All numbers were updated along with the secret and the url. We have tested two different users and get the unauthorised error for both.

0 Likes 0 ·
Phong Vu avatar image Phong Vu ♦♦ Joshua Blavins commented ·

What is your app client id? And can you share the code where you implement login? Remember to remove sensitive information.

0 Likes 0 ·
Show more comments

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