Redirect URIs do not match - WebRTC JS Demo

  • 1
  • Question
  • Updated 2 months ago
I'm a new developer, so please bear with me, but I'm trying to spin up the demo and I get an error response the the Redirect URIs don't match. In the app settings I have a localhost redirect URI since I'm running the demo locally. I'm sure that this is a problem with my understanding of OAuth flow for this demo.My app is a Browser Based app, and Im working from this repo https://github.com/anilkumarbp/ringcentral-web-phone/tree/feature/OAuth-2.0/demo  for the demo. I have the VoiP enabled for my app. If it is simple enough to explain or redirect me to an explanation I would appreciate it.
Photo of Tristan Brooks

Tristan Brooks

  • 70 Points
  • confused

Posted 2 months ago

  • 1
Photo of Tyler Long

Tyler Long, Official Rep

  • 5,790 Points 5k badge 2x thumb
 "Redirect URIs don't match"

You need to login developer.ringcentral.com, find your app, go to the settings tab of your app, and set OAuth Redirect URI to a proper value.  The redirect uri used in your code should match the value here.