In order to set HTTP2 authority in go grpc with a secure connection, the following function cant be used:
func *WithAuthority*(a string) DialOption . (in google.golang.org/grpc) The above function only works with an insecure connection. The only way to pass the authority is to pass it with the following: credentials.NewClientTLSFromCert(certpool, serverNameOverride) Which is overriding the servername that could be used as an authority! Could you tell me why the more conventional way which is directly adding the authority as an option would not work? this works for other languages such as python and java. Thanks, Iman -- 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 grpc-io+unsubscr...@googlegroups.com. To post to this group, send email to grpc-io@googlegroups.com. 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/8846fd5d-2413-4af4-9d71-72e25c94e351%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.