In this part we will setup Keycloak. We will run a local Keycloak Docker container and reuse an existing realm configuration.
The image below shows the relevant elements we will use later.
Open a terminal session and enter:
$ docker run -it -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin -p 8282:8080 jboss/keycloak:9.0.2
- Open the Keycloak in a browser select the Administration Console
Use following URL:
http://localhost:8282/
-
Login to using the URL in your browser with
user/admin
andpassword/admin
-
Select Add realm
- Choose for import Select file and open the
quarkus-realm.json
.
You should see following users: admin
, alice
, jdoe