Anonymous authentication
You can allow users to access Qlik Sense without supplying the user identity and credentials. This is done by editing the virtual proxy property Anonymous access mode. There are various levels of anonymous use, see the descriptions in the procedure below.
Do the following:
-
Open the QMC: https://<QPS server name>/qmc
-
Select Virtual proxies on the QMC start page or from the Start drop-down menu to display the overview.
-
Select the virtual proxy that handles the authentication and click Edit.
-
Edit Anonymous access mode in the Authentication property group:
- Select Allow anonymous user in the drop-down list if you want a user to enter as anonymous and then be able to switch to a user account.
- Select Always anonymous user if all users always are to be anonymous.
The default value is No anonymous user and the Qlik Sense users must supply the user identity and credentials.
-
Click Apply in the action bar to apply and save your changes.
Successfully updated is displayed at the bottom of the page.
For the anonymous authentication method to be operational, you need to create a license rule that allows anonymous users for either an Analyzer Capacity license (requires a signed license key) or a Login Access Token.
Analyzer Capacity license
Do the following:
-
Select License management on the QMC start page or from the Start drop-down menu to display the overview.
-
Select Analyzer capacity rules.
-
Click Create new in the action bar.
-
Edit the Identification properties.
Identification properties Property Description Name Enter a name for the rule (mandatory). Description Provide a brief explanation of the rule (optional). -
Create either a basic or an advanced rule:
-
Under Basic properties, do the following:
-
Select user: userDirectory =
-
Select value: NONE
-
-
Under Advanced properties, do the following:
-
In the Conditions field, add user.IsAnonymous()
-
-
-
Click Apply in the action bar.
Anonymous use of Qlik Sense is now allowed.
Login Access Token
Do the following:
-
Select License management on the QMC start page or from the Start drop-down menu to display the overview.
-
Click Login access rules.
-
Select a rule to edit and click Edit in the action bar.
-
Click License rules under Associated items.
-
Select the license rule that you want to edit and click Edit in the action bar.
-
In the Advanced section, add user.isAnonymous() in the Conditions text field.
Anonymous use of Qlik Sense is now allowed.
Anonymous users can use the default Everyone stream in the hub, which has already been set up for anonymous access. You can also create a stream dedicated to anonymous users. For more information about creating a stream for anonymous users, see How to allow Anonymous Hub access in Qlik Sense Enterprise Client-Managed.