fix: use service name as the default audience (#2579) · googleapis/java-bigtable@af6d7bd · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use service name as the default audience (#2579)
* fix: use service name as the default audience
* fix
* move code around
* fix tests
* format
* add back public api
* debug info
* more debug
* update
* clean up debug logs
* use settings
* update
* rename variables
* update test:
Copy file name to clipboardExpand all lines: google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettings.java
+39-13Lines changed: 39 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -250,18 +250,16 @@ public class EnhancedBigtableStubSettings extends StubSettings<EnhancedBigtableS
250
250
.build();
251
251
252
252
/**
253
-
* In most cases, jwt audience == service name. However in some cases, this is not the case. The
254
-
* following mapping is used to patch the audience in a JWT token.
253
+
* Default jwt audience is always the service name unless it's override to test / staging for
Copy file name to clipboardExpand all lines: google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettingsTest.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -993,7 +993,6 @@ public void enableRetryInfoFalseValueTest() throws IOException {
993
993
"appProfileId",
994
994
"isRefreshingChannel",
995
995
"primedTableIds",
996
-
"jwtAudienceMapping",
997
996
"enableRoutingCookie",
998
997
"enableRetryInfo",
999
998
"enableSkipTrailers",
@@ -1013,6 +1012,7 @@ public void enableRetryInfoFalseValueTest() throws IOException {
Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.
Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.
🎥 Watch TMZ Live
TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.
0 commit comments