Create a new OAuth2 M2M client


In this tutorial, you are going to learn how to create a machine-to-machine OAuth2 client on your Qlik Cloud tenant through the management console user interface.

If you’re not sure which type of OAuth client you need for your application, review the OAuth2 Overview to learn more.


  • A Qlik Cloud tenant
  • Tenant Admin role assigned to the user account creating OAuth2 clients

Create an OAuth2 client application in Qlik Cloud

Access the management console and select the OAuth menu option in the Settings section.

a screenshot of the oauth settings panel in the Qlik Cloud management console

Click Create new, then select Web from the Client type dropdown.

a screenshot of the configuration options for a Web OAuth2 client

Enter a name for the OAuth2 client.

a screenshot of the name input field for a Web OAuth2 client configuration

Select the scopes to grant to the client from the Scopes list.

More information about available scopes can be found at OAuth Scopes.

a screenshot of the scopes

Select the checkbox to enable the OAuth client to act as a machine-to-machine application.

a screenshot of the machine-to-machine checkbox for a Web OAuth 2 client configuration

Click Create. A window appears containing the Client ID and Client secret values for the OAuth2 client application to use. Copy and paste them to a secure location for later use.

a screenshot of the OAuth 2 client id and client secret

Click on the ellipsis (three dots menu) next to the OAuth2 client application entry and select Change consent method.

a screenshot of the OAuth 2 extended properties menu

Select the Trusted option and click Change consent method.

a screenshot of the consent configuration screen

The OAuth2 client configuration is complete. To use the configuration, add the Client ID and Client secret into your application where applicable. Here is an example of qlik-cli using a machine-to-machine OAuth2 client registration to access the user information representing the OAuth2 client registration.

a screenshot of qlik-cli
Was this page helpful?