question

Benny Dadon avatar image
Benny Dadon asked Benny Dadon commented

3 legged authorization

We have our CRM which is developed in asp.net core. Now we want to integrate RingCentral with our CRM so all users of RingCentral can send or receive SMS, MMS, and Fax from CRM.
So in the start, I create an app in the console which only allowed to send SMS from the main company number, not from all user's numbers.
After this, I create a 3 legged authorization app so every user can easily get tokens.

1638353743208.png

1638353579410.png

1638353633603.png

That's a new App that I create so every user can send SMS and other operations. So I face an error when I log in from the primary contact email then the token is generated otherwise error show Sorry, we don't recognize your email address.

1638353916995.png

Even this email is registered for one user.

1638354028604.pngIf I open user detail then invozeal@gmail is shown under the email section.

1638354129417.png

If I try to log in from the contact person's phone number then shows the password is not correct even I update the password but can't log in.

So how my all user list can be login and send SMS from their phone number??

authentication
1638353579410.png (57.4 KiB)
1638353633603.png (50.0 KiB)
1638353743208.png (44.5 KiB)
1638353916995.png (15.2 KiB)
1638354028604.png (38.0 KiB)
1638354129417.png (44.9 KiB)
1 |3000

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

1 Answer

Phong Vu avatar image
Phong Vu answered Benny Dadon commented

Your app is still in your sandbox environment, you cannot login with a user in your production account and "Malik Test" is a user under your production account!

You need to login your sandbox account and add more users and assign a phone number to the new user in order to test your app.

BTW, why did you add so many app permissions to the app? Unused permissions must be removed in order to publish the app to production.

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.

Benny Dadon avatar image Benny Dadon commented ·

Thanks I got your point

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