salesforce / reactive-grpc

Reactive stubs for gRPC
BSD 3-Clause "New" or "Revised" License
829 stars 118 forks source link

Question: how can Spring reactive-grpc support credentials on server #323

Closed travispeloton closed 1 year ago

travispeloton commented 1 year ago

Question:

How can Spring reactive-grpc support credentials on the server?

We would like to authenticate clients and are not clear on what our options are. Thanks!

cbornet commented 1 year ago

I did something like that some time ago using a ServerInterceptor. See https://github.com/cbornet/jhipster-grpc-sample-app/blob/master/src/main/java/io/github/jhipster/grpcsample/grpc/AuthenticationInterceptor.java Hope that helps.

travispeloton commented 1 year ago

thanks for the help!