grpc / grpc-web

gRPC for Web Clients
https://grpc.io
Apache License 2.0
8.6k stars 765 forks source link

How to ensure secure TLS connection with server #1295

Closed ArthurMVilela closed 1 year ago

ArthurMVilela commented 1 year ago

I am implementing a vue front end client for my grpc API (built in go), this API must only take TLS connections. Problem is that I have found no way to make a grpc-web use proper tls certificates in it's credentials, and the certificates also serve as to identify API's clients. Is there anyway to solve this? Is there any method to attach credentials to the channels used by grpc web?