google-nomulus/proxy
Lai Jiang c7478fc52b
Fix expired access token bug in the proxy (#217)
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.
2019-08-08 14:44:33 -04:00
..
gradle/dependency-locks Replace deprecated GoogleCredential with new auth lib (#129) 2019-07-02 10:29:51 -04:00
kubernetes Move terraform and kubernetes folder to be under proxy (#127) 2019-06-20 14:28:32 -04:00
src Fix expired access token bug in the proxy (#217) 2019-08-08 14:44:33 -04:00
terraform Update IAM binding to restrict proxy service account's access to GCS (#125) 2019-06-21 15:59:01 -04:00
.gitignore Refactor to be more in line with a standard Gradle project structure 2019-06-13 09:41:11 -04:00
build.gradle Add a Gradle task to deploy the proxy (#214) 2019-08-06 11:45:34 -04:00
deploy-proxy-for-env.sh Add a Gradle task to deploy the proxy (#214) 2019-08-06 11:45:34 -04:00
Dockerfile Refactor to be more in line with a standard Gradle project structure 2019-06-13 09:41:11 -04:00