News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
No redirect URI error, in sandbox env
Tags: errors, developer sandbox
Mar 9, 2021 at 6:40am   •   3 replies  •  0 likes
Ted Dangerfield

Hello,

I am attempting to use the RingCentral embeddable widget and can use assistance in setting the redirectURL. I've followed this document for configuring the app, in developers.ringcentral.com. Step 4 indicates to add a redirect URL in app settings. I tried setting the OAuth Redirect URL to the following:

https://apps.ringcentral.com/integration/ringcentral-embeddable/1.5.0/redirect.html

But to no avail. When attempting to log into the widget (embedded in a local Angular app), I receive "No redirect uri is registered for the client".

I attempted to pass in the redirectURL, but receive the same error message. Here is my embedded script:

<script>
  (function () {
    var rcs = document.createElement("script");
    rcs.src =
      "https://apps.ringcentral.com/integration/ringcentral-embeddable/1.5.0/adapter.js?clientId=<MyClientId>&appServer=https://platform.devtest.ringcentral.com&redirectUri=https://apps.ringcentral.com/integration/ringcentral-embeddable/1.5.0/redirect.html";
    var rcs0 = document.getElementsByTagName("script")[0];
    rcs0.parentNode.insertBefore(rcs, rcs0);
  })();
</script>


How do I go about setting the redirect URL?

Note: when using the non-versioned adapter (https://ringcentral.github.io/ringcentral-embeddable/adapter.js) and not passing in the clientId, I am able to login successfully.

3 Answers
answered on Jul 7, 2021 at 8:08am  

Just curious, did you configured OAuth Redirect URI to a proper value in developer.ringcentral.com in your app?


 0
answered on Jul 2, 2021 at 2:19pm  

Hi Ted,

I'm having the same problem, could you show me how to resolve it?
What is the correct configuration for a RingCentral App?

I'll appreciate you help! Thank you!


 0
answered on Mar 9, 2021 at 10:52am  

This was resolved upon creating a new app in developer.ringcentral.com.


 1



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us