oauth-gateway-exploration
oauth-gateway-exploration copied to clipboard
Failed to run the gateway - Bean
Hi,
I was looking for a component that will help me forwarding non authenticated user to keycloak, and also manage JWT acquisition after successful login. Your blog is really interesting, and so i downloaded your code, and build it. I failed when running the gateway on this error:
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2020-06-22 12:46:23.450 ERROR 16196 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 1 of constructor in ninja.robbert.gateway.ProxyConfig required a bean of type 'ninja.robbert.gateway.GatewayConfig' that could not be found.
Action:
Consider defining a bean of type 'ninja.robbert.gateway.GatewayConfig' in your configuration.
Process finished with exit code 1
Did i miss something ? Is is perhaps related to spring version because I used the latest.
Thanks.