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
3-legged OAuth flow authorization code no refresh_token value
Tags: sms and text messaging
Sep 28, 2023 at 8:13am   •   1 replies  •  0 likes
Riel Orilla

Hi, Good day!

We are having an issue with RC Integration. The integration was working fine with password based authflow but we recently had to switch 3-legged oauthflow.

It is working fine but except for one of our tenants. We switch their account but they are unable to send SMS from our CRM. They have their own Ring Central account. All we did is switch their Auth to 3-legged Authflow.


We are not receiving the “refresh token”. This is the response that we get (I’ve added the **sanitized** text to conceal the data):


{

"access_token": "U0pDMDFQMjNQQVMwMHxBQUF2eUZtZkZaVE5Ebk50Sz**sanitized**",

token_type": "bearer",

"expires_in": 3600,

"scope": "SMS",

"owner_id": "**sanitized**",

"endpoint_id": "**sanitized**"

}


Typically the response we get includes the refresh_token value:

"refresh_token": "SUFEMDFQMTJQQVMwMHxBQUJRNF92NVkwYzA**sanitized**", "refresh_token_expires_in": 604800,


Thank you for your assistance.

1 Answer
answered on Sep 28, 2023 at 9:31am  

When creating the app, did you say "Yes" to the "Issues refresh tokens" option?

1695918646398.png


You can also post the app client id here so I can check it for you.


 0
on Sep 28, 2023 at 9:37am   •  0 likes

Hi,

Yes, we set the refresh tokens to "Yes".
Client ID: C7GUFmkxRtu_kbkP4RWE6w

Also, I tried creating a new app instead but we can't login to Sandbox for some reason.

on Sep 28, 2023 at 9:49am   •  0 likes

I don't see any exceptional configs from this app. I recommend you to submit a dev support ticket so the engineer can investigate it further.

on Sep 28, 2023 at 9:52am   •  0 likes

I will do.

By the way, do you know why we can't sign in to Sandbox? We tried multiple browsers and different computers as well.

1695919901217.png

on Sep 28, 2023 at 11:13am   •  0 likes

Where do you want to login, the service web admin portal, or the RingCentral developers portal?

I don't see any issue with the both sites though.



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