Skip to content

Connection

Keycloak on Hire2Retire supports OAuth Client Credentials

The Client Credentials Flow involves an application exchanging its application credentials, such as client ID and client secret, for an access token.

We at RoboMQ pay utmost attention to keep your account secure. See our Security and Privacy Policies to learn more about how RoboMQ handles your account access.

Object Permission
User Can Provision and Deprovision Users

Client Credentials in Keycloak

Login to Admin Console and select Clients tab. From here you can create new client or use existing client admin-cli to get Client Id and Client Secret.

Configure the admin-cli client:

  1. Select admin-cli client from clients tab.

    Client

    Figure 1. Keycloak Clients

  2. Configure the client:

    Client

    Figure 2. Keycloak Client Configuration

    Click on Save button.

  3. Go to Service Account Roles tab and assign admin-role to client.

    Client

    Figure 3. Keycloak Service Account Roles

  4. Now, Client Secret can be obtained from Credentials tab of client and Client ID is Client name(admin-cli).

    Client

    Figure 4. Keycloak Client ID and Client Secret

Connection

Figure 1. Authentication form for Keycloak OAuth Client Credentials on RoboMQ Hire2Retire

To establish a connection to the Keycloak on Hire2Retire Provisioning, you need to provide the following OAuth information:

  • Instance Url - Keycloak Account Instance Url.

  • Client Id - Client Id is the name of client.

  • Client Secret - The client secret is a confidential and unique identifier associated with your application when you register it as a client with the Keycloak platform.

  • Realm - Realm name.

  • Client UUID - Client UUID can be obtained from URL of the client /clients/{client uuid}/

Once the connection is established successfully, then you can define the roles and mapping on Hire2Retire Provisioning.