Qlik Community

Ask a Question

Knowledge Base

Search or browse our knowledge base to find answers to your questions ranging from account questions to troubleshooting error messages. The content is curated and updated by our global Support team

Announcements
Live chat with experts, bring your API Integration questions. June 15th, 10 AM ET. REGISTER TODAY

Example auth0 authentication setup on Qlik Sense Enterprise SaaS

Sonja_Bauernfeind
Digital Support
Digital Support

Example auth0 authentication setup on Qlik Sense Enterprise SaaS

The steps below are for an example test setup of authentication using Auth0 as Identity Provider (IdP) with on Qlik Sense Enterprise on Cloud Services (QSEoCS).

Environment: 

  • Qlik Sense Enterprise on Cloud Services (QSEoCS)
  • Auth0

 

Resolution:


The information in this article is provided as-is and to be used at own discretion. Ongoing support on the solution is not provided by Qlik Support.

Note: These steps assume an auth0 "Developer" account has already been created.

 

Create a new Application in Auth0.

 

Proceed with the following steps:

  1. In the left menu in Auth0, open Applications.
  2. Click Create application.
  3. Give the application a name, select Single Page Web Applications and click Create.
  4. Select Settings.
  5. In the box Allowed Callback URLs, add the URL to your host in the format https://<host>/login/callback (e.g: https://<tenant name>.us.qlikcloud.com/login/callback).
  6. Scroll down and click Save changes.
  7. Note down the Client ID value.
  8. Note down the Client Secret value.
  9. Scroll to the bottom and select Advanced Settings.
  10. Select the Endpoints tab.
  11. Note down the OpenID configuration URL for later.

 

Creating a database connection in Auth0

 

Create a database connection and configure the application to use this connection.

Proceed with the following steps:

  1. In the left menu, select Connections > Database.
  2. Fill in a name for the database connection and click Create.
  3. In the left menu, select Applications.
  4. Open the tab Connections
  5. Enable the new database connection for the new application.

Creating a new user

If users are not in Auth0, proceed with the following steps:

  1. In the left menu, select Users & Roles > Users.
  2. Click Create user.
  3. Fill in the fields and select the newly created connection.

 

Setup the Identity Provider in the Management Console within QCS

 

  1. Go to Profile > Administration 
  2. Open the section Identity provider.
  3. Click Create new. The page for creating an IdP configuration opens. 
  4. Select IdP type Interactive for login of users
  5. Select your IdP provider, Auth0.
  6. Optionally, enter a description.
  7. Fill in the fields in the Application credentials section:
  • OpenID configuration - use the URL from step 11 in Create a new Application in Auth0 section.
  • Client ID - use the Client ID value from step 7 in Create a new Application in Auth0 section.
  • Client secret - use the Client secret value from step 8 in Create a new Application in Auth0 section.
  1. Accept the defaults for the Claims mapping section.
  2. Click Save.


Related Content:

Labels (1)
Version history
Revision #:
7 of 7
Last update:
‎2021-02-23 04:21 AM
Updated by: