Keycloak#
MTO Console uses Keycloak for authentication and authorization. By default, the MTO Console uses an internal Keycloak instance that is provisioned by the Multi Tenant Operator in its own namespace. However, you can also integrate an external Keycloak instance with the MTO Console.
This guide will help you integrate an external Keycloak instance with the MTO Console.
Prerequisites#
- An OpenShift cluster with Multi Tenant Operator installed.
- An external Keycloak instance.
Steps#
Navigate to the Keycloak console.
- Go to your realm.
- Click on the
Clients. - Click on the
Createbutton to create a new client.
Create a new client.
- Fill in the
Client ID,Client NameandClient Protocolfields.
- Add
Valid Redirect URIsandWeb Originsfor the client.
Note: The
Valid Redirect URIsandWeb Originsshould be the URL of the MTO Console.
- Click on the
Savebutton.
Update Integration Config#
- Update the
IntegrationConfigCR with the following configuration.
integrations:
keycloak:
realm: <realm>
address: <keycloak-address>
clientName: <client-name>
- Now, the MTO Console will be integrated with the external Keycloak instance.


