question

Donald King avatar image
Donald King asked Phong Vu commented

trying to run the demo

I'm trying to run the webrtc demo in an mvc project. I've setup the ring central app as the demo states but I'm getting an erro when checking the options.code in the Platform.js. options.code is null causing the grant_type to be 'password' instead of 'authorization_code'. Should I be setting the app up differently? Is there some other documentation I should be looking at?

getting started
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 Phong Vu commented

Are you referring to this demo? What is your app type? Or post your app client id here so I can check it for you.

2 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.

Donald King avatar image Donald King commented ·

Yes that demo.

ClientId: Yoe43xDPTUSCfdZPTDfwfw

0 Likes 0 ·
Phong Vu avatar image Phong Vu ♦♦ Donald King commented ·

Your app OAuth redirect URL is invalid. Not sure what else you have not implemented but read this part carefully and follow the instructions to complete your code. Also make sure the user who will login the app having a direct line.

https://github.com/ringcentral/ringcentral-web-phone#demo

https://github.com/ringcentral/ringcentral-web-phone#configuring-your-ringcentral-app

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