spring-cloud-oauth2-example icon indicating copy to clipboard operation
spring-cloud-oauth2-example copied to clipboard

An example of spring oauth2 authorization and resource server using JWT

Spring OAuth2 example for microservices

This example shows how to use spring oauth2 to secure resource servers, for example in spring cloud microservices.

How to Setup?

Just

$ gradle build

and start both spring boot application using

$ gradle bootRun

inside the directories.

More Information

Read my article for detailed explanation.