OAuth configuration

<script
  crossorigin="anonymous"
  type="application/javascript"
  src="https://cdn.jsdelivr.net/npm/@qlik/embed-web-components@1/dist/index.min.js"
  data-host="https://<TENANT_HOSTNAME>.<REGION>.qlikcloud.com"
  data-auth-type="Oauth2"
  data-client-id="<OAUTH_SPA_CLIENT_ID_FROM_TENANT>"
  data-redirect-uri="<WEB_APPLICATION_CALLBACK_PAGE>"
  data-access-token-storage="choiceOf: 'session' or 'local"
  data-auto-redirect="choiceOf: 'true' or 'false'"
  data-auth-redirect-user-confirmation="<FUNCTION_TO_REPLACE_DEFAULT_AUTHORIZE_BUTTON>"
></script>

<p>example</p>
<script
  crossorigin="anonymous"
  type="application/javascript"
  src="https://cdn.jsdelivr.net/npm/@qlik/embed-web-components@1/dist/index.min.js"
  data-auth-type="Oauth2"
  data-host="https://example.us.qlikcloud.com"
  data-client-id="7df548ae8b56ed81f0dad80b0f2e6e82"
  data-redirect-uri="https://web-application.somedomain.com/oauth-callback.html"
  data-access-token-storage="session"
  data-auto-redirect="true"
></script>

ON THIS PAGE

Was this page helpful?