OAuth Access and Refresh tokens

Hi,
If we get the multiple access tokens in a sequence, is the below case with refresh token valid?
For example:

  1. Request 1 gets access token A1 and refresh token R1
  2. Request 2 gets access token A2 and refresh token R2
  3. Request 3 gets access token A3 and refresh token R3

Assume access tokens are not expired yet. Will that work if I use A1 on my 4th Request(Request 4)? And can it be refreshed using R1 if it is expired.

We may see the above use case in our env, if same user tokens are used by multiple background threads and all of them are trying to refresh it?

Please let me know if the above query is not clear or for more details.

Thanks,
smsivanesan

Hey @sivanesan.murugesan,

If I understand your question correctly, yes, each access token will work for any number of requests until an hour passes, you will then need to refresh the token.

Thanks,
Tommy

Thanks Tommy. This clarifies. I was thinking that once the latest access token A3 accessed, A1 become invalid. Per your answer, all the tokens A1, A2 and A3 will work until they expired and each can be refreshed with their own refresh token R1, R2 and R3 respectively when they expire.

Thanks again.

Hey @sivanesan.murugesan,

Thanks for clarifying. Currently there can only be one access token and refresh token active per user.

So this is not correct.

Thanks,
Tommy