Introduction
This is a demo implementation for "RobôHelper". This code was tested with Keycloak versions 11.0.2 and 4.8.3.Final.
The link above points to a text written in Brazilian Portuguese. |
Software requirements
-
Bash 5
-
For Keycloak 4.8.3.Final:
-
JDK 8
-
-
For Keycloak 11.0.2.Final:
-
JDK 11
-
-
wget
-
mvn
-
jq
Steps to run this demo
Clone this repo and cd
to it:
$ git clone https://github.com/paulojeronimo/keycloak-robot-helper-demo $ cd `basename $_`
Load some functions into your current shell:
$ source functions.sh
Download and install Keycloak:
$ roh-kc-install
|
Start Keycloak and watch its logs:
$ roh-kc-start $ roh-kc-log &
Increase the log level for some log categories in Keyclock.
This will be help you to debug the code in this project. |
$ roh-kc-increase-log-level
Configure Keycloak:
$ roh-kc-configure
Build and deploy the Robot Helper extension:
$ roh-deploy
Test the extension:
$ roh-delete-generated-tokens $ roh-test-create-user
You can see details about the generated $ cat service-account-ivr.access.token $ roh-jwt $_ |