grpc / grpc-web

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

How to pass the client credentials for grpc-web service client? #1393

Closed kobofare closed 2 months ago

sampajano commented 5 months ago

@kobofare Hi :)

One way credentials can be passed is through metadata, which would be passed as HTTP headers to the server. As in the following example: https://github.com/grpc/grpc-web?tab=readme-ov-file#make-a-unary-rpc-call

Would this work for you?

sampajano commented 2 months ago

Closing this issue due to inactivity. Feel free to reopen with more details :)