mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-25 01:04:14 -05:00
chore: tweak template
This commit is contained in:
@@ -5,12 +5,14 @@ import barchart from '@nebula.js/sn-bar-chart';
|
||||
|
||||
async function run() {
|
||||
const appId = '<App id>';
|
||||
// https://github.com/qlik-oss/qlik-api-ts/blob/main/docs/authentication.md
|
||||
const hostConfig = {
|
||||
authType: '<AuthenticationType: ex "oauth2" or "cookie"',
|
||||
host: '<URL>',
|
||||
// connection config based on authType
|
||||
webIntegrationId: '<Qlik web integration id>', // cookie
|
||||
clientId: '<Qlik OAuth client id>', // oauth2
|
||||
accessTokenStorage: 'session', // for oauth2
|
||||
};
|
||||
|
||||
qlikApi.auth.setDefaultHostConfig(hostConfig);
|
||||
|
||||
Reference in New Issue
Block a user