Detailed description can be found here: Microservices security with Oauth2
corejavadev/sample-spring-oauth2-microservices
some examples that show basic and more advanced implementations of oauth2 authorization mechanism in spring-cloud microservices environment
Java