Can't set cookie from login kibana 5.4.0

Hi,
I know this is a common issue and looking around the forum no other topic could solve it.

My problem is very similar to this topic below. I can make the login by /api/security/v1/login by ajax request and I can get the cookie, but I canot set it with javascript. When I try to set the domain, something goes wrong and the cookie is not created. I am trying some workaround but without success. I am trying to open iframes to visualize charts without the user need to insert username/password. Am I doing something wrong or missing something?

elasticsearch version: 5.4.0
kibana version: 5.4.0

Topic related:

Your issue is probably related to cross-origin and information related to setting CORS was given here.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.