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: https://service.com/service.name <https://service.com/service.name.Rpc> while the service uses the default Cloud Endpoints audience of the form https://service.endpoints.project.cloud.goog
Looking at the code <https://github.com/grpc/grpc/blob/master/src/core/lib/security/credentials/jwt/jwt_credentials.cc#L81> 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 <https://github.com/grpc/grpc/blob/master/src/core/lib/security/credentials/jwt/jwt_credentials.cc#L81> but use the right audience). Am I missing something, is there any other way around? Thanks, Bogdan -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/a4ebc09a-8290-434d-b757-78264257ceb5%40googlegroups.com.
