News & Announcements User Community Developer Community

Welcome to the RingCentral Community

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

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
Can I set a localhost URL as an OAuth Redirect URI?
Tags: authentication, oauth
Jul 12, 2018 at 3:05pm   •   3 replies  •  0 likes

Is it possible to set http://localhost/ringcentral/index.php as OAuth Redirect URI?

My app's authorization flows are

  • Authorization Code
  • Refresh Access Token

I don't have a live and publicly accessible URL to set as an OAuth Redirect URI, so I don't know how to complete the OAuth process.

I'm trying to set up and run the following demo:


3 Answers
answered on Jun 20, 2019 at 2:57pm  

You can set any callback uri, but you need to keep in mind that the callback uri need to be exactly the same you have configured during creating the app in developer portal

answered on Jul 12, 2018 at 8:06pm  
For oAuth redirect URI, yes you can use a local one and it should work. Because the redirection happens in your local browser.

However WebHook URIs have to be public.

answered on Jul 12, 2018 at 4:43pm  
Hi Nibu,

Yes you can but not directly like that. Check out the ngrok tunner ( and use that tool for your local app.

+ Phong


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

Developer Platform
Integrated Apps
App Gallery
Developer support
Games and rewards

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