Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view
Hi,

We are trying to embed a cockpit into our web application. But to test it, we've been running the code in the Knowage Javascript SDK against our Knowage 8.1.18 server, without any success.

When we run the https://github.com/KnowageLabs/Knowage-Server/blob/v8.1.18/knowagesdk/src/main/webapp/example2_with_auth.jsp

and change the port and host to my server instance, I notice that the "login" step works, but when it calls the "Sbi.ask.api.injectDocument", it returns a 302 and displays the login screen again.

Any ideas on where we could be going wrong with trying to embed our dashboard?
Environment Knowage 8.1.18, Firefox, Chrome
in Cockpit, Dashboard and Console by (120 points)

Please log in or register to answer this question.

...