Refresh token in clustered environment

Hi Team,

We are hosting our application in a clustered environment. There is chance that when the access token is about to expire, concurrent requests from different nodes can try to refresh the access token using refresh token. Does the old refresh token remain valid for few mins even after the new one is issued? If not there could be a race condition where the first request that gets processed will be able to refresh the token but the subsequent one would fail since refresh token would have got updated.

Please suggest what is the best approach to refresh token when application is hosted in a clustered environment.

@Govind_Deshmukh Kindly look into it.