qlik-oss / qlik-api-ts

Typescript types and Javascript library for consuming Qlik API's
https://qlik.dev
ISC License
8 stars 3 forks source link

InvalidHostConfigError; 'scope' #23

Closed magikcypress closed 8 months ago

magikcypress commented 8 months ago

scope does not seem to be compatible with Oauth authentication?

const hostConfig = {
  host: `${tenantUrl}`,
  authType: "Oauth2",
  clientId: `${client_id}`,
  clientSecret: `${client_secret}`,
  redirectUri: `${redirectURI}`,
  accessTokenStorage: "session",
  scope: ["user_default", "admin_classic"]
};
InvalidHostConfigError: Invalid host config: unknown properties in host config; 'scope'