Skip to content

Commit e3b6176

Browse files
committed
feat: add logic to set universe domain to sa jwt credentials
1 parent 244c5dc commit e3b6176

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

gapic-generator-java-pom-parent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
consistent across modules in this repository -->
2828
<javax.annotation-api.version>1.3.2</javax.annotation-api.version>
2929
<grpc.version>1.70.0</grpc.version>
30-
<google.auth.version>1.35.0</google.auth.version>
30+
<google.auth.version>1.35.1-SNAPSHOT</google.auth.version>
3131
<google.http-client.version>1.47.0</google.http-client.version>
3232
<gson.version>2.12.1</gson.version>
3333
<guava.version>33.4.0-jre</guava.version>

gax-java/gax/src/main/java/com/google/api/gax/core/GoogleCredentialsProvider.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ public Credentials getCredentials() throws IOException {
8888
.setPrivateKey(serviceAccount.getPrivateKey())
8989
.setPrivateKeyId(serviceAccount.getPrivateKeyId())
9090
.setQuotaProjectId(serviceAccount.getQuotaProjectId())
91+
.setUniverseDomain(serviceAccount.getUniverseDomain())
9192
.build();
9293
}
9394

0 commit comments

Comments
 (0)