Skip to main content

Qlik Sense for Windows: How to configure OIDC with Keycloak

100% helpful (2/2)
cancel
Showing results for 
Search instead for 
Did you mean: 
Damien_Villaret
Support
Support

Qlik Sense for Windows: How to configure OIDC with Keycloak

Last Update:

Jun 2, 2021 10:02:33 AM

Updated By:

Damien_Villaret

Created date:

Jun 2, 2021 10:02:33 AM

This is a guide on how to configure a virtual proxy with OIDC authentication in Qlik Sense for Windows with Keycloak as the Identity Provider.

The steps in the article are detailing that needs to be changed based on the default configuration which was tested with Keycloak 13.0.0.0

Environments:

Qlik Sense Enterprise on Windows May 2021 and later

 

Resolution

Keycloak

In "Clients", create a new client

Damien_Villaret_1-1622641071355.png
 
Set the Access Type to "confidential"
Damien_Villaret_2-1622641295767.png
 
Damien_Villaret_3-1622641494018.png

Save.

 

The Client configuration in Keycloak is now done. We now need to copy the following as they are needed for the Qlik Sense virtual proxy configuration.

 

Copy the OpenID endpoint URL:

Damien_Villaret_0-1622640886528.png
 
Copy the secret:
Damien_Villaret_5-1622641766215.png

 

 
Qlik Sense
 
Create a new virtual proxy in the QMC, configure the virtual proxy as usual (Engine load balancing, host white list, associate to Proxy service) and for the authentication part choose OIDC and configure like below:
Damien_Villaret_4-1622641723400.png

 

The fields to pay attention to are the following:

OpenID Connect metadata URI: (can be found from Realm settings in Keycloak)

Client ID: (This is the name of the client created in Keycloak)

Client secret: (can be found in the client settings in Keycloak)

scope: openid email profile

Labels (1)
Comments
annabelg
Partner - Contributor
Partner - Contributor

Good Afternoon @Damien_Villaret 🙂 

Is there a way how to get some Client Scopes (defined for a user) from Keycloak and store them on QlikSense ? E.G. like group or roles ?

thanks in advance!

Charvick
Contributor III
Contributor III

Hi @Damien_Villaret 

I've integrated keycloak with Qliksense for authentication. I followed the steps from you post Qlik Sense for Windows: How to configure OIDC with... - Qlik Community - 1812463 and configured a virtual proxy in Qliksense and also the same in Keycloak as well, I am able to get to the required keycloak page using the keycloak virtual proxy in the URL but even after I enter the credentials into the keycloak page, Qlik is still prompting me to enter my username and password. Is there any way I could configure it so that just entering my credentials in to the keycloak page will directly take me to my app?

Note: I am able to open hub and few apps in the hub. But I am unable to access the mashups for few of my apps

Thanks in advance

Sonja_Bauernfeind
Digital Support
Digital Support

Hello @Charvick please post about your query and the issues you are facing directly in our Integration forum, where they will be exposed to our larger userbase and active support agents.

All the best,
Sonja 

Charvick
Contributor III
Contributor III

I posted it in the Integration forum. Thanks @Sonja_Bauernfeind 

Contributors
Version history
Last update:
‎2021-06-02 10:02 AM
Updated by: