Keycloak supports applications that support SAML 2.0, such as Sisense.
This page describes how to add Sisense to Keycloak and configure SSO-support with SAML 2.0 by creating a Keycloak client and connecting it to Sisense.
This article assumes you have a Keycloak IdP Server configured.
Note: This page reflects a 3rd party’s application which may change. If the steps described here do not match what you see in your Keycloak account, you can use the generic Sisense SAML documentation, along with the IdP’s documentation.
Connecting Sisense To Keycloak
To connect Sisense to Keycloak:
- Download sisense_client_config.json to your PC.
- Log in to your Keycloak's admin console (http://localhost:8080/auth/admin/)
- Select Clients from the left menu.
- Click Create.
- In the Add Client window click Select File.
- From the file explorer popup window locate the file downloaded in Step 1 and click Open.
- Back in the Add Client Window click Save.
- In the Settings tab of the opened Sisense client page expand the Fine Grain SAML Endpoint Configuration section.
- In the Assertion Consumer Service Redirect Binding URL filed replace "localhost:8081" with your domain name.
If using secure connection, replace "http" with "https".
- Updated value of the Assertion Consumer Service Redirect Binding URL to match the value of the Assertion Consumer Service Redirect Binding URL (from the previous step.)
- Click Save.
- Click on the Installation tab.
- From the Format Option, select Mod Auth Mellon Files and click Download.
- Extract the downloaded keycloak-mod-auth-mellon-sp-config.zip.
- Open the idp-metadata.xml file from the extracted folder.
- Open your Sisense web application.
- Go to the Admin tab and click on the Single Sign On menu item.
- Select SAML 2.0 as the Method option.
- In the idp-metadata.xml file locate the following element.
- Copy the value of the Location attribute to the Remote Login URL field in Sisense.
- In the idp-metadata.xml file locate <dsig:X509Certificate>.
- Copy the value of the X509 certificate to the Public X.509 Certificate filed in Sisense.
- Enable Single Sign On by clicking the switch button.
- Click Save.