suchorski / springboot-keycloak-server

Embeded Keycloak on Spring Boot Server
Apache License 2.0
26 stars 12 forks source link

Keycloak Server Embedded in a Spring Boot Application

This project provies an embedded Keycloak server running on a Spring Boot application.

Based on this post from Baeldung.

Features

Compatibility

Version Java Keycloak Spring Boot RESTEasy Infinispan Liquibase
4.0.0 17 22.0.5 3.1.5 6.2.4.Final 14.0.19.Final 4.23.2
5.0.0 17 23.0.3 3.2.0 6.2.4.Final 14.0.21.Final 4.23.2
5.0.1 17 23.0.4 3.2.1 6.2.4.Final 14.0.21.Final 4.23.2

Configurations

You can customize the server by changing the application.yml file inside resources folder.

Building

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-5.0.1.jar

Contribution

Feel free to contribute with us.