question

ajith-nk avatar image
ajith-nk asked ·

Getting New Refresh Token

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

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.
Share
1 |1000 characters needed characters left characters exceeded

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.
Share
1 |1000 characters needed characters left characters exceeded

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

ajith-nk avatar image
ajith-nk answered ·
How can I refresh it before it expires?
I have gone through your documentation, But i failed to found a solution.
6 comments Share
1 |1000 characters needed characters left characters exceeded

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

Which programming language are you using? Are you using any SDKs?
0 Likes 0 · ·
I am working through JAVA
0 Likes 0 · ·
Is there any api provided for regenerating RefreshToken?
0 Likes 0 · ·
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

Share
1 |1000 characters needed characters left characters exceeded

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.