On Fri, Aug 25, 2017 at 6:02 AM, julie <[email protected]> wrote:
> So instead of the audience (SERVICE_CONFIGURATION_NAME) that we set, we > are obtaining a string like : https://35.195.24.28:80/reporter.Reporter > > JWT's audience is set based on the Channel's host. You need to use a hostname instead of an IP address with Channel.forAddress(). Or rather, you need to use the hostname that the server knows itself as (it does a string comparison of the audience it expects and the audience used). Since JWT is expected to be zero-configuration, it automatically computes the audience per-request. I'll note that overrideAuthority had a bug earlier <https://github.com/grpc/grpc-java/issues/2682> that would have caused a similar error. But that's been fixed. -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CA%2B4M1oNA2ku4y1Thz-GPwrprQeZhs5vfFN9PWNeLkLNJBxvHpw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
smime.p7s
Description: S/MIME Cryptographic Signature
