-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 8.1
-
Fix Version/s: 8.2
-
Component/s: Live Connect (Google Drive, Dropbox, OneDrive...)
For service like Box, the refresh token is valid until 60 days and could be used only once to get a new access token.
As the credential retrieving could be concurrent, two threads could ask an access token refresh with the same refresh token.
First one will work and the new access token and refresh token will be saved in DB. But as the second one won't work, values saved in DB at this time will be a null access token and the old refresh token (one which is invalid at this moment).