Hi, Is it possible to use OAuth2 at eureka server to authenticate eureka clients before registration , instead of using the basic Auth. Any documentation would be helpful.
Thanks
Comment From: ryanjbaxter
No we don't. It might be doable depending on the auth flow. We don't have any plans to implement it though.
Comment From: asharani-m
@ryanjbaxter Thanks for the response. So is basic authentication the only way to authenticate clients before registering to eureka?
Comment From: ryanjbaxter
Currently yes https://cloud.spring.io/spring-cloud-static/spring-cloud-netflix/2.2.3.RELEASE/reference/html/#authenticating-with-the-eureka-server
Comment From: asharani-m
Hi @ryanjbaxter. In case of basic authentication, does eureka clients authenticate only while registering or do they authenticate every time they send heart beat to eureka server.
Comment From: asharani-m
Reason i am enquiring about this.. Even if we custom implement to integrate oauth flow.. We want this authentication to happen only while registering
Comment From: spencergibb
Also on heartbeat
Comment From: asharani-m
Thanks @spencergibb for quick response