Skip to content

SpringBootMarcusChiu/oauth-sso-example

Repository files navigation

Spring Security OAuth - Dynamic Client Registration

Relevant information:

  1. auth-server is a Keycloak Authorization Server wrapped as a Spring Boot application. There are 3 OIDC-Connect Clients registered in the Authorization Server:
  2. resource-server is a Spring Boot based RESTFul API, acting as a backend Application
  3. client-spring-1 and client-spring-2 are two identical Spring MVC Thymeleaf App acting our front end. They are available at http://localhost:8082/ and http://localhost:8084/ respectively.
  4. client-spring-external-provider similar to the 2 above but configured with external OIDC providers (Google)
  5. client-angular is an Angular Client, available at http://localhost:8084/
  6. There are two users registered in the Authorization Server:
    1. john@test.com / 123
    2. mike@other.com / pass

Confluence Article

Main Articles:

  1. Simple Single Sign-On with Spring Security OAuth2
  2. OAuth2 (Auth Server + Resource Server + Angular Client)

Other Articles:

About

OAuth Single Sign On Example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published