artemMartynenko / spring-cloud-gateway-oauth2-sso-sample-application

Sample apllication for Spring Cloud Gateway as microservices API Gateway with OAuth2 Single Sign On

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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).

References:

About

Sample apllication for Spring Cloud Gateway as microservices API Gateway with OAuth2 Single Sign On


Languages

Language:Java 91.5%Language:HTML 8.5%