question

Jeroen Couwenberg avatar image
Jeroen Couwenberg asked ·

company phone not working after publishing

Hi, sorry for the confusion. This is what we have done: we have a developer account with a sandbox. We have created an app that uses implicit flow for the authorization. The app is working as long as we provide the username/main company phone number of the sandbox environment. But now we also published the app on production and changed clientId and clientSecret. Now when the auth pop-up is shown we tryto login with the sandbox username / main company phone. But it fails.

Do I understand correctly that in order to use the prod app I have to login with a prod username/main company phone number?

On the top right in the dev account we have an "upgrade" button with an "i" icon which says (when hovering) that we are on a free dev account and "... public apps can be built to connect to production services of other paid RingCentral accounts"

What we want to do

1. See if the app works on production as well

2. Let other RingCentral users use our production app.

Any help will be greatly appriciated!

topic-default
1 |1000 characters needed characters left characters exceeded

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 ·
1. What type of authentication do you implement, password flow or authorization flow?
2. Did you change the client id and client secret for the production?
Share
1 |1000 characters needed characters left characters exceeded

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

Tyler Liu avatar image
Tyler Liu answered ·
What do you mean by publishing? If it is going from sandbox to production, you need to update clientId, clientSecret and also use production user credentials.
1 comment Share
1 |1000 characters needed characters left characters exceeded

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

Hi I updated the initial question. Can you please take a look?

0 Likes 0 · ·
Phong Vu avatar image
Phong Vu answered ·

You cannot login your app running in the production environment with your sandbox login credentials. You have to login with user under the production account instead.

If your app is public, then you can use any user from any production account to log in.

If you don't have one and want me to test it for you, then provide me the link to the app as well as instructions of what to test, so I can try login.

Share
1 |1000 characters needed characters left characters exceeded

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

Anirban Sen Chowdhary avatar image
Anirban Sen Chowdhary answered ·

When I contacted the Dev support team (devsupport@ringcentral.com) with same issue to know how to test the application in production having production credentials, this is what they written:

"You will not be able to test it using your account. Since it is a public app, any other RC user (paid user) can test your integration. "

Share
1 |1000 characters needed characters left characters exceeded

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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