mirror of
https://github.com/google/nomulus.git
synced 2025-05-06 06:57:50 +02:00
https://github.com/google/nomulus/pull/129 migrated `GoogleCredential` to `GoogleCredentialsBundle` and introduced a subtle bug. I don't fully understand why but there are times when the access token is null but `credentials.refresh()` is not called, resulting in NullPointerException when `credentials.getAccessToken().getTokenValue()` is called. Since the new GoogleCredentials class supports `shouldRefresh()`, we now just rely on it to make sure that we always get a value access token. |
||
---|---|---|
.. | ||
main | ||
test |