Step 5. Update Configuration
You will need to update some configuration files to point the API Gateway and Temenos Explorer to your local Keycloak instance:
API Gateway
To use your Keycloak instance used for authentication in the API gateway you will need to update the auth-server-url
property in /ApiGateway/config.json
as shown below:
"auth-server-url": "http://localhost:8080/"
Temenos Explorer
To use your Keycloak instance with Temenos Explorer you will need to update 3 properties in /TemenosExplorer/public/TA_config.js
(i) as shown below:
const CONFIG = {
KEYCLOAKURL : 'http://localhost:8080/',
KEYCLOAKREALM : 'myrealm',
KEYCLOAKCLIENT : 'temenos-explorer',
}
(i) See/consider ConfigServlet if Temenos Exporer is going to be deployed as a WAR
Property | Description |
---|---|
KEYCLOAKURL | The URL to your Keycloak instance (http://localhost:8080 by default) |
KEYCLOAKREALM | The name of your Keycloak realm you created in step 2 |
KEYCLOAKCLIENT | The ID of the client you created in step 3 |
Now when you start Temenos Explorer it will use your new Keycloak instance for user authentication and role management.