Question

How to remove refresh token from oauth call

  • 21 June 2020
  • 1 reply
  • 1242 views

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 reply

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

Reply