Refresh token has 15 years validity, yet it is only one time use. Once we generate the access token using the refresh token, it gets invalidated. Any way where I can reuse it again? (I am aware that we get new refresh token when we generate access token).
Issue is in multi threaded environment, if the access token is generated by one thread(which generates new refresh token), refresh token on the other thread is invalidated. This breaks the application. (We cannot share the refresh token between threads or read it from common location).