question

ajith-nk12856 avatar image
ajith-nk12856 asked Anirban Sen Chowdhary answered

Getting New Refresh Token

How can I generate a new RefreshToken once Old one get Expired?
topic-default
1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image
Phong Vu answered
You have to log in again.
1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Tyler Liu avatar image
Tyler Liu answered
Refresh token expires in 7 days by default. You can refresh it before it expires. If it is already expired, you'd have to do authorization again.
1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

ajith-nk12856 avatar image
ajith-nk12856 answered Tyler Liu commented
How can I refresh it before it expires?
I have gone through your documentation, But i failed to found a solution.
6 comments
1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Tyler Liu avatar image Tyler Liu commented ·
Which programming language are you using? Are you using any SDKs?
0 Likes 0 ·
ajith-nk12856 avatar image ajith-nk12856 commented ·
I am working through JAVA
0 Likes 0 ·
ajith-nk12856 avatar image ajith-nk12856 commented ·
Is there any api provided for regenerating RefreshToken?
0 Likes 0 ·
ajith-nk12856 avatar image ajith-nk12856 commented ·
To my knowledge, while refreshing AccessToken. RefreshToken also regenerated right?
0 Likes 0 ·
Show more comments
Anirban Sen Chowdhary avatar image
Anirban Sen Chowdhary answered

You can use the same ringcentral token API to get new reresh_token.

When you are going to generate a new access_token using existing refresh_token, you will automatically get a new refresh_token generated along with new access_token

1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.