Step 1: Set up Auth0 to use RS256 to sign the JWTs. A simple security dashboard for Grafana. First the service worker needs to be installed, this happens through an iframe with 0 size that just installs the service worker, because the service worker can't be installed from another domain. Embed Grafana Chart in NR dashboard. We use auth0 with passport js. While researching this task, I found many questions in forums from people asking questions like “How do I set up an auth proxy?” or “Why is my auth proxy not working?” or “Why does Grafana say it failed to load files when I’m using an auth proxy?” but no clear answers. You can also embed these Grafana dashboards into your custom applications. Note the way id_token is passed to the callback. server_url = # If the remote HTTP image renderer service runs on a different server than the Grafana server you may have to configure this to a URL where Grafana is reachable, e.g. The only way I have implemented so far is to enable grafana anonymous mode for an organisation, and put an apache reserve proxy between grafana and the web site, and verify the server url is from my site in apache. Click on "Data Sources". Once Home Assistant has start storing data in the database, you’re ready to install and configure Grafana. This means the service worker for authenticating needs to be hosted on the same subdomain as grafana. Allow access to Grafana only to users who logged in via Auth0. When false, the HTTP header X-Frame-Options: deny will be set in Grafana HTTP responses which will instruct browsers to not allow rendering Grafana in a ,