Spring Cloud Gateway OAuth2 SSO Sample Application
It`s a sample application which how to achieve SSO for your microservices with usage of new Spring Cloud Gateway as your API gateway and also with OAuth2 authorization protocol and JWT tokens.
Sample dependencies
- Spring Boot 2.1
- Spring Cloud Gateway 2.1.M1
- Spring Security 5.1.1
The main idea of this sample is to show how you can achieve functionality described in references below (where Zuul is used as your API Gateway) but with usage of new Spring Cloud Gateway provided with Spring Boot 2 and also with reactive approach (a new feature of Spring 5).