Hello, I am just starting to use Grafana…
I am using Grafana v8.1.1 in a docker with Home assistant in another docker
I have created a small dashboard and I copy the link and paste it in an iframe in HA
or in a browser
I have a Access denied to this dashboard
of course, I have set anonymous enabled to true
I have deleted the grafana container and reinstall it, now it is working from a browser but not from home assistant, I got the error : 192.168.1.104 refused the connection
If Grafana works in a browser but not in Home Assistant then you are probably
best advised to ask about this on a list or forum focused on Home Assistant,
since that seems to be the part that isn’t working whereas Grafana is working
(so long as you connect with a browser).
I have found the solution and the problem was with grafana
I have to set up :
GF_SECURITY_COOKIE_SAMESITE to none or disabled
and
GF_SECURITY_ALLOW_EMBEDDING to true