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
How to remove refresh token from oauth call
Tags: authentication
Jun 21, 2020 at 1:20am   •   1 replies  •  0 likes
Kt109

I am able to generate oauth tokens from the url https://platform.devtest.ringcentral.com/restapi/oauth/token successfully.

However I can see both refresh token and access token is generated in the call.

Can we remove the refresh token during the oauth call so that only access token is generated.

I have seen this feature of suppressing and disabling refresh token in other oauth servers.

Does it apply in ringcentral too?

1 Answer
answered on Jun 21, 2020 at 2:22am  

Yes, refresh tokens can be disabled by setting the TTL (time to live) for the refresh_token_ttl to zero

example:

username=<username>&password=<password>&extension=<extension>&grant_type=password&refresh_token_ttl=0

refresh_token_ttl=0


 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