Closed adutra closed 1 week ago
Discovered while working on #8847.
When there is no refresh token, use the access token expiration directly, instead of artificially computing a "default" expiration for a token that doesn't exist.
This PR also refactors TestOAuth2Utils.testShortestDelay to improve its readability.
TestOAuth2Utils.testShortestDelay
Discovered while working on #8847.
When there is no refresh token, use the access token expiration directly, instead of artificially computing a "default" expiration for a token that doesn't exist.
This PR also refactors
TestOAuth2Utils.testShortestDelay
to improve its readability.