Authentication question

21 views
Skip to first unread message

zszhang...@gmail.com

unread,
Apr 24, 2020, 5:47:34 PM4/24/20
to grpc.io
I am using the Authentication feature now. As I know, there are two ways to use the token to send the request. One is to add metadata pair {key, token} to the context which is sent with the request. This way doesn't need ssl.
The other way is to make one call_creds by using the token, then use one compisited_creds to combine call_creds with one channel_creds, to create this channel_creds, is the grpc::SslCredentials(ssl_options) required? Is there a way to make it work without SslCredentials?
I tried to use grpc::InsecureChannelCredentials(), but doesn't work.
Any help with being greatly appreciated!
Reply all
Reply to author
Forward
0 new messages