google-auth-library-java
google-auth-library-java copied to clipboard
Open source Auth client library for Java
I'm trying to get data from the `id_token` which is returned when exchanging an authorization code with the token endpoint. I have everything I need to make the request to...
FileInputStream fileInputStream = new FileInputStream(credPath); ServiceAccountCredentials sourceCredentials = ServiceAccountCredentials .fromStream( new FileInputStream(credPath)); credPath must json , but i have p12
…entials This enables the storage of service account credentials in external key storage such as remote KeyVaults or HSMs. Fixes #410
Is it possible to make ServiceAccountCredentials.fromJson() a public method so that it is accessible outside the package? At the moment, I am using ServiceAccountCredentials.fromPkcs8(). However, using ServiceAccountCredentials.fromJson() might simplify some...
I've noticed the webpage of this repository doesn't explain how to leave the previous one : https://googleapis.dev/java/google-api-client/latest/com/google/api/client/googleapis/auth/oauth2/GoogleCredential.html **Is your feature request related to a problem? Please describe.** Yes, I can't...
Unless we really think getDefaultServiceAccount can't fail here, we should not convert the IOException to a RuntimeException. ``` @Override public String getAccount() { if (serviceAccountEmail == null) { try {...
Hi team, Can we support read CREDENTIAL_ENV_VAR from VM options? #### Code snippet ```java String credentialsPath = this.getProperty(CREDENTIAL_ENV_VAR, this.getEnv(CREDENTIAL_ENV_VAR)); ```
Thanks for stopping by to let us know something could be better! Please include as much information as possible: #### Environment details - OS: Android 10.0 - Java version N/A...
Currently `JwtClaims` only support String objects when passing a map of additional claims. This limitation prevent applications that need more sophisticated JWT payloads to use the library. According to the...
The current API for ServiceAccountCredentials does not support explicitly setting a Provider. (This is true for all Credentials implementing ServiceAccountSigner, but changing it consistently for all these should also incorporate...