- Java 11
- Docker
- Run docker container
docker run -d -p 8080:8080 --name kc -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin quay.io/keycloak/keycloak:18.0.0 start-dev
- Go to http://localhost:8080/admin/ and log in to the Keycloak Admin Console.
- Mouse over the Master, then click
Add relm
, select files.\keycloak-realms\{branch1 | branch2 | carrier}-export.json
, then clickCreate
for each - Click the
Manage/Users
, then add user-
user
with ROLE USER and,admin
with ROLE ADMIN on branch1 and branch2 -
maintainer
with ROLE MAINTAINER on carrier
-
mvn clean install
mvn spring-boot:run