Grafana开启匿名登录

要为匿名用户设置登录,需要 grafana.ini在文件中进行配置。

如果要隐藏登录页面,请执行此配置


[auth]
# Set to true to disable (hide) the login form, useful if you use OAuth
# disable_login_form = false 
disable_login_form = true
# 更改disable_login_form到true

启用匿名访问

 [auth.anonymous]
 # enable anonymous access 
   enabled = true

指定组织

# specify organization name that should be used for unauthenticated users
org_name = YOUR_ORG_NAME_HERE       
# 使用admin登录进去之后,修改了组织的名称, 保存,就OK了
# 组织角色Viewer和Editor
# specify role for unauthenticated users
org_role = Editor
posted @ 2020-03-09 23:44  一毛丶丶  阅读(725)  评论(0编辑  收藏  举报