Looking for usage example(s) demonstrating the 2nd and 3rd parameters for the ctor of the generated client:
let apiClient = new APIServicePromiseClient(hostAndPort, null, null);
defined as:
constructor (hostname: string,
credentials?: null | { [index: string]: string; },
options?: null | { [index: string]: string; });
I'm looking for a way to establish an ssl Credential object, but not sure if is the same API as in the gRPC docs for Nodejs.
The followup on
https://github.com/grpc/grpc-web/issues/40
https://github.com/grpc/grpc-web/pull/125
has not progressed.
Thanks
I have similar problem, but i need Insecure permission
I have similar problem, but i need Insecure permission
I thought the default behavior (with 2nd & 3rd parameters nulled) is the Insecure Channel?
I thought the default behavior (with 2nd & 3rd parameters nulled) is the Insecure Channel?
In c# (ChannelCredentials.Insecure) and nodeJs (grpc.credentials.createInsecure()) this is different object (but by default Null)
Yes, understood there might be some parallels with the way the objc and c# client stubs were configured for ssl. All that is required in grpc-web is simply using "https://..." in this case apparently.
Did you find an example for this? I posted a similar question in https://github.com/grpc/grpc-web/issues/762
I use envoy to take care of the https issues. hope this helpful
I use envoy to take care of the https issues. hope this helpful
How can there be a trust established between my application in the browser and envoy in this case? In case of client certificate, shouldn't my application be adding the certificate and envoy passing it on upstream? Much like using the CURLOPT_SSLCERT option to add a client certificate.
Any progress on this?
Looking for a simple example that makes grpc-web calls over TLS
(browser-to-envoy TLS)
+1
Also seeking this
Most helpful comment
Any progress on this?
Looking for a simple example that makes grpc-web calls over TLS
(browser-to-envoy TLS)