Integrate Keycloak with Unleash
| Service | Description |
|---|---|
| http://keycloak:8080/ | Keycloak |
| http://unleash:4242/ | Unleash |
Keycloak and Unleash need to communicate directly and through browser so we need to configure host names in /etc/hosts:
127.0.0.1 keycloak
127.0.0.1 unleash
| Service | Description |
|---|---|
| http://keycloak:8080/ | Keycloak |
| http://unleash:4242/ | Unleash |
Unleash default credentials:
username: admin password: unleash4all
Keycloak default credentials:
username: admin password: admin
Create realm unleash and client id unleash-web.
In client set Valid Redirect URIs to http://unleash:4242/api/auth/callback
Create user admin and password admin that may be used for authentication to unleash
, don't forget to set its email.
jwt private key: openssl genpkey -out private.pem -algorithm rsa -pkeyopt rsa_keygen_bits:4096
jwt public key: openssl pkey -in private.pem -out public.pem -pubout