Grafana iFrame embedding does not work

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.

welcome to the :grafana: forum, @geda

This probably depends partly on your Grafana version. I would also advise search this forum for ifram questions, or exploring the iframe tag. There are a lot of topics about this :+1: