Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
May 10, 2022 3:03:11 PM
Apr 14, 2020 5:01:57 PM
The following are example steps for setting up a test Multi-Cloud deployment using the Local Bearer Token or the Auth0 programmatic (machine-to-machine) authentication. This setup allows for app deployment from Qlik Sense Enterprise on Windows to Qlik Sense Enterprise SaaS.
! 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.
There are two Multi-Cloud Deployment options for integrating Qlik Sense Enterprise on Windows to the Qlik Sense Enterprise SaaS environment and distributing apps. When using the local bearer token option, the auth0 programmatic ("Machine to Machine") application is not required. Skip to On Qlik Sense Enterprise on Windows section below.
Follow the steps under Creating an Auth0 API and application for programmatic access
Notes:
- Auth0 has recently changed the definition of Scope and calls it Permissions at the time of last update to this article.
There are two options:
I. Using a local bearer token:
II. Using a programmatic (Machine to Machine) auth0 application:
1. Perform the steps listed under Creating an Auth0 API and application for programmatic access.
2. Open the Multi-cloud Setup Console (MSC) on a web browser via https://<QS server name>/api/msc
3. Click on Deployments and then on + Set up new.
4. Configured the following fields:
Deployment name
|
QSEoCS_M2M | Give it a descriptive name |
API Endpoint | https://<QSEoCS tenant name> | - <QSEoCS tenant name> is the QCS tenant name for when accessing the Cloud Hub |
Audience | qlik.api | Use this a static required value. |
Client ID | <Client ID> | Obtained from Auth0 under the Applications > Machine to Machine application > Settings > Client ID |
Client secret | <Client Secret> | Obtained from Auth0 under the Applications > Machine to Machine application > Settings> Client Secret |
Token Endpoint | https://<tenant domain>.auth0.com/oauth/token | Obtained from Auth0 under the Applications > Machine to Machine application > Settings > Advance Settings > Endpoints > OAuth Token URL |
5. Click on Apply
9. If setting up Multi-Cloud distribution, in a multi node environment. It is possible to disable the Distribution from RIM nodes but not on the central node. This can be done as follows;
In file : C:\Program Files\Qlik\Sense\ServiceDispatcher\Services.conf
Modify the file content to disable the services by adding "Disabled=true" for both services.
[appdistributionservice]
Disabled=true
Identity=Qlik.app-distribution-service
DisplayName=App Distribution Service
ExePath=dotnet\dotnet.exe
UseScript=false
[hybriddeploymentservice]
Disabled=true
Identity=Qlik.hybrid-deployment-service
DisplayName=Hybrid Deployment Service
ExePath=dotnet\dotnet.exe
UseScript=false