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
https://platform.devtest.ringcentral.com/restapi/oauth/authorize 302
Tags: oauth, oauth2, developer sandbox
May 26, 2021 at 10:07am   •   6 replies  •  0 likes
Ben Ashby

We are performing oauth against a sandbox app. The generated url is https://platform.devtest.ringcentral.com/restapi/oauth/authorize......................... Which is normal. As of just recently, that is now 302'ing us to `https://login.ringcentral.biz ` Which is complaining about sandbox accounts not being supported. Is there a path forward? This is new. It was working just a couple days ago and we were not being 302'd

,

I tried to perform oauth against a sandbox app. The url generated was `https://platform.devtest.ringcentral.com/restapi/oauth/authorize ...............` as usual but that URL is now 302'ing me to `https://login.ringcentral.biz `. And logging in there tells me that sandbox accounts aren't supported.


The 302 is new. It never did that before for us. Is there a path forward?

6 Answers
answered on Aug 3, 2023 at 10:07am  

Hi, we are encountering the same issue as @Ben Ashby . We have been using "https://platform.devtest.ringcentral.com/restapi/oauth/authorize" for testing for a long time, and it's been working okay until recently. Now it always redirects us to "https://login.ringcentral.biz."

Are there any changes happening or is it currently under maintenance?


 1
answered on May 26, 2021 at 3:16pm  

It is working as expected now. Thank you very much. We appreciate it.


 1
answered on May 26, 2021 at 3:12pm  

Just got a notification from the eng team. The issue is fixed. Can you try again and let me know if you still face that problem.


 0
answered on May 26, 2021 at 11:22am  

In addition, when logged into the developer portal, Sandbox Environment Online Account Portal Link here


1.png


Is landing us here

1.png


 0
on May 26, 2021 at 12:39pm   •  0 likes

Can you clear your browser cookies and retry? And hold on on the OAuth, it seems there is a temporary issue and I asked the team to investigate it.

on May 26, 2021 at 12:29pm   •  0 likes

Are you on a mobile device, tablet or iPad etc.?

answered on May 26, 2021 at 10:57am  

I am not sure about why it took you to ringcentral.biz.

What are other parameters you used with that endpoint? Your app authentication is 3-legged OAuth, right?


 0
answered on May 26, 2021 at 11:18am  

When it is time to perform oauth we generate the following URL (formatted for convienence)


https://platform.devtest.ringcentral.com/restapi/oauth/authorize?

response_type=code

&redirect_uri=https://our-endpoint-to-receive-the-code

&client_id=Sgg-6WhrRSiHkNBeljhE6g

&state=STRING_WE_LOCALLY_USE_TO_IDENTIFY_CLIENT

&code_challenge=FhqvHz1NzG5NLGSdA06mcjUm2hwNTeOC-4NuOMkDkRM

&code_challenge_method=S256


That has always just let us login straight to https://platform.devtest.ringcentral.com. But is now returning a 302 with the Location header


https://login.ringcentral.biz/mobile/loginDispatcher?responseType=code&clientId=Sgg-6WhrRSiHkNBeljhE6g&brandId=1250&state=STRING_WE_LOCALLY_USE_TO_IDENTIFY_CLIENT&localeId=en_US&endpointId=&session=8762265263498758197&display=page&prompt=&scope=&appUrlScheme=https%3A%2F%2Four-endpoint-to-receive-the-code&ui_options=&code_challenge=FhqvHz1NzG5NLGSdA06mcjUm2hwNTeOC-4NuOMkDkRM&code_challenge_method=S256&hideNavigationBar=true


Does that provide you with the information you needed? I am not 100% sure about the 3 legged oauth. We have been doing this for quite some time successfully and haven't changed anything on our end.


 0



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