Spring Security SSO

Benefits of Single sign-on

  1. Reduced IT support cost

  2. Improved User experience

  3. Better understanding of the customer

  4. Better security

How does SSO authentication works?

spring-boot-sso-min-min

Setting your own SSO server with Spring Boot and Spring Security OAuth

  1. spring-boot-sso-app-foo and spring-boot-sso-app-bar will be the two applications using SSO

  2. spring-boot-sso-server will be the centeralized login system

Results

  • SsoServerApplication

  • AppFooApplication

  • AppBarApplication

  • http://localhost:8051/spring-boot-sso-app-foo/

  • http://localhost:8052/spring-boot-sso-app-bar/

  • user, pass

References