auth-serveris a Keycloak Authorization Server wrapped as a Spring Boot application. There are 3 OIDC-Connect Clients registered in the Authorization Server:- Client 1
- Client Id: ssoClient-1
- Client secret: ssoClientSecret-1
- Redirect Uri: http://localhost:8082/login/oauth2/code/custom
- Client 2
- Client Id: ssoClient-2
- Client secret: ssoClientSecret-2
- Redirect Uri: http://localhost:8084/login/oauth2/code/custom
- Client 3
- Client Id: client-angular
- Client secret: client-angular-secret
- Redirect Uri: http://localhost:8084/
- Client 1
resource-serveris a Spring Boot based RESTFul API, acting as a backend Applicationclient-spring-1andclient-spring-2are two identical Spring MVC Thymeleaf App acting our front end. They are available at http://localhost:8082/ and http://localhost:8084/ respectively.client-spring-external-providersimilar to the 2 above but configured with external OIDC providers (Google)client-angularis an Angular Client, available at http://localhost:8084/- There are two users registered in the Authorization Server:
- john@test.com / 123
- mike@other.com / pass
-
Notifications
You must be signed in to change notification settings - Fork 0
SpringBootMarcusChiu/oauth-sso-example
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
OAuth Single Sign On Example
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published