I believe credentials can be added to an insecure channel only if the channel is local (e.g. UDS). See more details here: https://github.com/grpc/grpc/pull/20875
On Tuesday, April 21, 2020 at 2:35:29 PM UTC-7 davidk...@gmail.com wrote: > I am creating a channel as follows: > call_credentials = grpc.access_token_call_credentials(token) > root_credentials = grpc.ssl_channel_credentials(certificate) > credentials = grpc.composite_channel_credentials(root_credentials, > call_credentials) > channel = grpc.secure_channel(endpoint, credentials=credentials) > > Suppose I am not using SSL (no certificate), but just an access token, how > do I create a channel as above. > Thanks. > > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/fd67d015-0af7-4a34-9b24-d8a34ac724f6%40googlegroups.com.