0 votes
1 view
hello, when i call <iframe> with url of dashboard "http://servidor:8080/knowage/public/servlet/AdapterHTTP?ACTION_NAME=EXECUTE_DOCUMENT_ACTION&OBJECT_LABEL=Ativos_Operacionais&TOOLBAR_VISIBLE=false&ORGANIZATION=DEMO&NEW_SESSION=true" in firefox open dashboard normaly, but when i run in chrome open page login and need to login to open dashboar. I need to configure something more? ty!
asked Aug 2, 2021 in End-user Environment by bellandi (120 points) | 1 view
So... you have different behaviours using different browsers, right? that's strange....Are you sure you don't have any authenticated session within Firefox? To test this, I suggest you to clear all browser cookies and try again with a clear browser session.

Make sure the document is publicly executable, that means it is executable by the role marked as "Public" (check permissions on folder and drivers' modalities).

Hope this helps

yes, i sure i don't have any authenticated session within Firefox. i tested clear all browser cookies and  problem continues.I marked the document as public, in menu ->PROFILE MANAGEMENT-> Roles Management. And I tried to authenticate with sdk, and the problem continued

Hi,

if I understand correctly, your issue is related to sdk authenticate function.
Do you use https ? Check your browser console, do you have corb / cross origin errors?

I noticed the same behaviour when calling sdk authenticate in chrome, edge...
Only firefox works after a reload (first call fails for me).

I was told that using SSO to manage authentication could fix this issue.
I'm setting it up now but facing some other issues but you could try that too.

1 Answer

0 votes
I had the same problem and solved it by adding <CookieProcessor sameSiteCookies="none" /> to META-INF/context.xml

Chrome defaults samesite property to "lax" whereas Firefox doesn't.

see https://www.knowage-suite.com/qa/6127/knowagesdk-calling-cockpit-on-https
answered Sep 6, 2021 by rlagarde (3,170 points)
1,555 questions
1,017 answers
2,038 comments
2,568 users