Skip to main content
Skip table of contents

Connecting your own Keycloak installation

If the included Keycloak installation is to be replaced by your own Keycloak installation, a Keycloak configuration file must be created in the server directory under \configuration\keycloak_config.json.

The configuration is done in the connection element.

Example

CODE
{
    "connection": {
        "realm": "X4Realm",
        "auth-server-url": "http://<host>:<port>/auth/",
        "resource": "X4",
        "credentials": {
            "secret": "XXXX"
        }
    }
}

The following roles must be created in Keycloak:

RoleDescription
x4_admin_accessGives access to the X4 ReST API.
x4_control_centerGives access to the X4 Control Center (in future).
x4_dev_accessGives access to the X4 Designer.
x4_dev_access_*Gives access to all X4 Repositories.

To use the X4 ReST API, the following rights must be granted to the corresponding user:

Client Roles
  • realm-management
Assigned Roles
  • manage-users
  • view-users

For more information on the configuration file, see https://www.keycloak.org/docs/latest/securing_apps/index.html#_java_adapter_config.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.