You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.
I'm trying to change the security settings in Grafana so I can embed my dashboard as an iframe in my website. I was able to locate and edit the grafana.ini file in the etc/grafana folder but it seems to revert back to default after I change it. Is this the correct file to be editing or is there another "default.ini" file?
Specifically (see attached) I would like to change the security settings:
allow_embedding | false
cookie_samesite | lax
to
allow_embedding | true
cookie_samesite | none
Can you please let me know how to do this or if there is another way to embed the dashboard into a website.
Thank you,
Victor
The text was updated successfully, but these errors were encountered:
@vschinazi I think you should be able to do this via environment variables in docker-compose.yml. They follow a convention so it could be GF_SECURITY_ALLOW_EMBEDDING=true and GF_SECURITY_COOKIE_SAMESITE=none. I've not tested these specific ones but you'll see in the compose file there are already some others set.
Hi Chris
I'm trying to change the security settings in Grafana so I can embed my dashboard as an iframe in my website. I was able to locate and edit the grafana.ini file in the etc/grafana folder but it seems to revert back to default after I change it. Is this the correct file to be editing or is there another "default.ini" file?
Specifically (see attached) I would like to change the security settings:
allow_embedding | false
cookie_samesite | lax
to
allow_embedding | true
cookie_samesite | none
Can you please let me know how to do this or if there is another way to embed the dashboard into a website.
Thank you,
Victor
The text was updated successfully, but these errors were encountered: