google-auth-library-java
google-auth-library-java copied to clipboard
Open source Auth client library for Java
FR to implement [createDelegated()]](https://googleapis.dev/java/google-auth-library/latest/com/google/auth/oauth2/ServiceAccountCredentials.html#createDelegated-java.lang.String-) mechansm for other credential types. Currently, only `ServiceAccount` credentials implements that api that allows domain-wide delegation. This FR is to allow the other credentials to also...
Fixes https://github.com/googleapis/google-auth-library-java/issues/1451 WIP for now
See b/341158194 for more information. The call should retry with exponential backoff before returning an exception back to the user.
#### Steps to reproduce 1. Create `ComputeEngineCredentials` on a GCE VM. 2. Derive `IdTokenCredentials` from the above with `#setOptions()` containing `IdTokenProvider.Option.LICENSES_TRUE` and optionally the implied `IdTokenProvider.Option.FORMAT_FULL`. 3. Observe lack of...
Fixes #1387 ☕️ As described in the original issue, this looks like a regression introduced in https://github.com/googleapis/google-auth-library-java/commit/7e268611d2c2152e84702b1c67ca846902bbe2d5 when migrating from deprecated constructor to use builder. [Access token](https://cloud.google.com/docs/authentication/token-types#access-contents) is scoped and...
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/googleapis/google-auth-library-java). ## Open These updates have all been...
See b/340613207 for more information.
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure...
`ComputeEngineCredentials` assumes that the response from from the metadata server is [either `200` or `503`](https://github.com/googleapis/google-auth-library-java/blob/dde6876154d6e7ff43dbbf7b75c5205eadd679a5/oauth2_http/java/com/google/auth/oauth2/ComputeEngineCredentials.java#L338): ```java try { response = request.execute(); } catch (UnknownHostException exception) { throw new IOException( "ComputeEngineCredentials...