Wojciech Wirzbicki
Wojciech Wirzbicki

Reputation: 4382

Is it possible to obtain new refresh token using other refresh token in OAuth2?

Given the scenario:

Is it possible to obtain new refresh token that way?

Upvotes: 0

Views: 49

Answers (1)

rawel
rawel

Reputation: 3043

Refresh tokens usually have a very long lifetime. When a new access token is requested using the refresh token OAuth server can send a new refresh token along with the new access token. You can then compare if refresh token has been changed and update your current refresh token with the new token. The new refresh token is usually issued when you have configured sliding expiration for the refresh token and expiration time is approaching.

Upvotes: 1

Related Questions