Grafana Docker Image: change default role for the Anonymous User - Stack Overflow
Dashboards: Provisioned dashboards not available with anonymous access
Issue with overriding configuration variables
Disable Grafana login screen
Hello! I promise I’ve searched but I just can’t find an answer. I am running HA docker in my Synology NAS and Grafana in a separate container in the same stack. I access HA remotely via reverse proxy, but I don’t want to expose Grafana. Is it possible to have Grafana charts in HA without needing to log into Grafana or without seeing the https error that HA throws when you aren’t exposing Grafana through a reverse proxy?
Thanks @Donald Mok for his answer; I just want to make it as clear as possible. In the Grafana interface you can create an organization. After that you can create some dashboards for this organization. So, there is a problem that you need to specify the organization for anonymous users. And it should be a real organization (for your Grafana). And anonymous users will be able to see only dashboards from this organization.
#################################### Anonymous Auth ##########################
[auth.anonymous]
# enable anonymous access
enabled = true
# specify organization name that should be used for unauthenticated users
org_name = ORGANIZATION
To setup login for anonymous users you need to make these small configuration changes in the default.ini/grafana.ini file (Grafana\conf).
If you want to hide the login page do this configuration:
[auth] # Set to true to disable (hide) the login form, useful if you use OAuth #disable_login_form = false disable_login_form = trueChange
disable_login_formtotrue.Enable anonymous access:
[auth.anonymous] # enable anonymous access enabled = trueSpecify the organization:
# specify organization name that should be used for unauthenticated users org_name = YOUR_ORG_NAME_HERERestart Grafana and you should be able to see the Grafana dashboard. If not, just change your org role from
ViewertoEditor:# specify role for unauthenticated users org_role = Editor