googleapis / googleapis/google-cloud-java

[java-bigtable] Always default default the JWT audience to the primary bigtable.googleapis.com authority

Open
#13,076 0 comments 0 reactions 0 assignees View on GitHub
api: bigtable type: feature request
Dominant language
Java
Stars
2.1k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
154

Description

Currently the JWT audience is derived from the endpoint. This works well when the endpoint is bigtable.googleapis.com. However when a different endpoint is used to reach cloud bigtable, this doesnt work as well. The EnhancedStubSettings has a way to new mappings between endpoints and authorities via `JwtAudienceMapping`, by default this has a mapping for batch-bigtable.googleapis.com.

However with psc, having multiple endpoints targeting the same authority is the norm. So the mapping should ignore the endpoint and simply default to bigtable.googleapis.com unless there is an override

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.