-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need change in Config parameters to log into Qliksense Enterprise Edition #12
Comments
Hey, Please give me some more details about your set-up and I can advise: How is authentication handled on your Qlik Sense site? Thanks, |
npm run build should now work fine |
We couldn't connect to QlikSense Enterprise using JWT or certificates from a react app. using a JWT token requires sending a header in the Websocket. You can't send a header in a client Webapplication - you can send a header if you run the .js file using the node command. Finally was able to connect using the Engima.js example application where they use the redirect.html in the host name - see here https://github.com/qlik-oss/enigma.js/tree/master/examples/complete/car-models. You have to upload the redirect.html to the Default content library in Qliksense qmc. Essentially we had to modify the useEngine.jsx to include these lines: |
Great, thanks for this. I'll create a branch and implement this into the main library. I'll probably add a new prop to accommodate for this additional log in type. Worth noting that you can pass the engine object directly to the Motor component. So potentially you can connect via node.js, grab the engine object and pass this to the Motor component in your React app. |
I runned the starter locally and it works! But when I deploy it on Netlify the Websocket connection fails. https://6078dc30aca5fadfaeaad644--laughing-mccarthy-d3be37.netlify.app/ |
Hey, please can you post your config object and the motor-js version you are using. |
Version of motor: 0.1.8 |
The current config parameters only allow logging into Qlik Cloud environment. Qlik Enterprise edition log in requires a few other parameters. How to make those changes? Cloning repository and npm run build with changes doesn't work - npm run build fails on motor-ui. Errors like ../motor-ui/src/lib/components/visx/components/axis/BaseAxis.tsx(49,24): semantic error TS2554: Expected 3 arguments, but got 2.
src\lib\components\visx\components\axis\BaseAxis.tsx
I can make changes and request a pull. Not sure how @motor-js/core works when the repository is named motor-ui
The text was updated successfully, but these errors were encountered: