grpc-ecosystem / grpc-spring

Spring Boot starter module for gRPC framework.
https://grpc-ecosystem.github.io/grpc-spring/
Apache License 2.0
3.48k stars 812 forks source link

Getting grpcAuthenticationReader error whenever I try to start my application #959

Closed VEPTHSoc closed 1 year ago

VEPTHSoc commented 1 year ago

The context

I want to enable grpc server in my user application. The question

I just integerated a GRPC server to my user application but whenever I try to start my application I am getting the following error. I am kind of clueless regarding this error as not much information is available online. Stacktraces and logs

Do you have any relevant stacktraces or logs of your attempts?

Description:

Parameter 1 of method authenticatingServerInterceptor in net.devh.boot.grpc.server.autoconfigure.GrpcServerSecurityAutoConfiguration required a bean of type 'net.devh.boot.grpc.server.security.authentication.GrpcAuthenticationReader' that could not be found.

Action:

Consider defining a bean of type 'net.devh.boot.grpc.server.security.authentication.GrpcAuthenticationReader' in your configuration. Which versions do you use?