This project provies an embedded Keycloak server running on a Spring Boot application.
Based on this post from Baeldung.
- Fully standalone Keycloak server running on embedded Tomcat;
- Added a custom theme with providers only login screen.
Version | Java | Keycloak | Spring Boot | RESTEasy | Infinispan |
---|---|---|---|---|---|
1.0.0 | 17 | 18.0.2 | 2.6.5 | 3.15.1.Final | 13.0.8.Final |
2.0.0 | 17 | 20.0.1 | 2.7.5 | 4.7.4.Final | 13.0.10.Final |
2.2.1 | 17 | 20.0.2 | 2.7.5 | 4.7.7.Final | 14.0.2.Final |
2.2.2 | 17 | 20.0.3 | 2.7.7 | 4.7.7.Final | 14.0.4.Final |
You can customize the server by changing the application.yam
file inside resources
folder.
You can clone this repo and build it using the Maven.
$ git clone https://github.com/suchorski/springboot-keycloak-server
$ cd springboot-keycloak-server
$ mvn package
$ java -jar target/server-2.2.1.jar
Feel free to contribute with us.