These are chat archives for spring-cloud/spring-cloud

13th
Aug 2015
Josh Ghiloni
@jghiloni
Aug 13 2015 21:22
Is there a way to configure the EurekaDiscoveryClient to use custom authentication (like OAuth2)? It seems like writing a custom DiscoveryClient implementation may work, but I don't know how I'd work around the provided DiscoveryClient bean. Would it be as simple as marking my implementation as @Primary?
Spencer Gibb
@spencergibb
Aug 13 2015 22:10
@jghiloni create a Bean of type CloudEurekaClient there is a constructor that takes DiscoveryClientOptionalArgs where you can add jersey ClientFilters