Hi,
I am using Grafana on a local server and I wanted to embed it into a HTML via iframe. My code looks like this:
<title>Monitoring</title>
<meta http-equiv="refresh" content="60; URL=monitor - Panel Name.html">
div#content {
position: absolute;
height: 100%;
width: 100%;
margin-left:-50;
border:0;
background-color: black;
scrolling="no";
}
div#content iframe {
position: absolute;
height: 100%;
width: 100%;
margin:0;
border:0;
frameborder="0";
scrolling="no";
}
<iframe src="[Grafana Link]" name="frame2" id="frame2" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" onload="" allowtransparency="false"></iframe>
I have set the “cookie_samesite = none” and “allow_embedding = true”. When I open my document I see the login, but when I try to login, the page says “Login successful” but the login screen still stays.
Can anyone help?
Thank you.