Iframe With Grafana still show X-frame-Options 'deny'


I’m using grafana v7.5.4 on an apache server.
I’ve configured “allow_embedded” to true and the apache server to allow X-frame-options and also the CSP but when I try to load the page in an iframe (dashboard or just a panel) it show that the X-frame-options is set to ‘deny’.
Is there another place where I need to authorize it?
Before you ask, yes I have restarted the server.
Also we don’t want to allow anonymous connections.

Thanks in advance.