qlik-oss / nebula.js

Product and framework agnostic integration APIs for Qlik's Associative Engine
https://qlik.dev/extend/set-up-nebula-environment/
MIT License
78 stars 56 forks source link

Nebula Hub - connect to Qlik Cloud trial fails #1450

Closed jeff-1984 closed 9 months ago

jeff-1984 commented 9 months ago

🐛 Bug report

I am trying to connect to my Qlik Cloud tenant (trial) I added a web integration, with allowed origins : http://localhost:8000 => In the nebula hub page : wss://[mytenant].eu.qlikcloud.com?qlik-web-integration-id=xxx+ connect => Result : infinite loop reloading the page at step 2 (select app) I tried also with oauth "single page app", with user_default access rights, an error is returned by Qlik Cloud : {"errors":[{"title":"Invalid client_id","detail":"OAuth client is not authorized","code":"OAUTH-14","status":"400"}],"traceId":"0000000000000000d3a2403ffa24786d"}

It would be very nice to have a working step by step tutorial with the setup of the Qlik environement (Qlik Cloud and Qlik Sense). (is that not possible with Qlik Cloud trial ?)

Thanks

Caele commented 9 months ago

I've never tested a trial account, but I think it should work. The inifitely refreshing page sounds like an issue with the redirect URL, that you get an incorrect setup. For reference, here are my oauth settings: Screenshot 2024-01-05 at 11 34 28

My engine URL is: wss://tenant.qlik-cloud.com/&qlik-client-id={myID}

jeff-1984 commented 9 months ago

Thank you !

This is working with oauth + redirect uri = http://localhost:8000/login/callback (and no web-integration-id passed)

Maybe it could help other people to add a message in the page to explain how to create the oauth on Qlik Cloud, with the redirect uri.

With the web integration id , it is still looping, but that's OK, I can test with the oauth now :-)