Hi,
I'm using a grpc c++ client to make calls to a grpc serve using Google token based authentication.
The problem that I'm facing is that the grpc c++ library assumes that the audience is based on service address and service name:
while the service uses the default Cloud Endpoints audience of the form
https://service.endpoints.project.cloud.goog
Looking at the
code seems that my only options are:
1) have the service owner add the audience that the grpc c++ library uses
2) use the MetadataCredentialsPlugin and generate the token in the GetMetadata (basically, have the same implementation
as the library but use the right audience).
Am I missing something, is there any other way around?
Thanks,
Bogdan