google-auth-library-java icon indicating copy to clipboard operation
google-auth-library-java copied to clipboard

ServiceAccountCredentials with SSJ flow will get error when invoking refreshAccessToken()

Open zhumin8 opened this issue 1 year ago • 0 comments

refreshAccessToke() posts request to OAuth2 token server (see code).
This code path is not exercised for TPC flow via getRequestMetadata(), but it is an public method and is possible to accidentally get triggered by customer's code.

One invocation within this library (that we are patching in #1528 ) is here

zhumin8 avatar Oct 11 '24 17:10 zhumin8