Is there an example to have Consul with OAuth2 in Springboot

Hi
I am looking for an example to allow microservices to communicate with each other. I have successfully created a micro service to call out to an inner micro service, using discoveryClient. Now, I want to add OAuth2 authentication on top. Is there an example available for this already?