question

Donald King avatar image
Donald King asked ·

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?

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

1 Answer

· Write an Answer
Phong Vu avatar image
Phong Vu answered ·

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

Yes that demo.

ClientId: Yoe43xDPTUSCfdZPTDfwfw

0 Likes 0 · ·

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 · ·

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.