grafana auth
change
commit ea3e34a304b5596f75cf5515442a6aaa4015c4e0
author Alpha Chen <alpha@kejadlen.dev>
date
parent e1466baf
diff --git a/lotus-land-story/grafana.yml b/lotus-land-story/grafana.yml
index 403d933..0f92245 100644
--- a/lotus-land-story/grafana.yml
+++ b/lotus-land-story/grafana.yml
@@ -21,10 +21,17 @@
           [metrics]
           enabled             = true
           disable_total_stats = false
+
           [server]
           domain = grafana.{{ domain }}
           http_addr = 0.0.0.0
           root_url = https://grafana.{{ domain }}
+
+          # https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication
+          [auth]
+          oauth_allow_insecure_email_lookup = true
+          disable_signout_menu = true
+
           [auth.generic_oauth]
           enabled = true
           name = Authelia
@@ -40,6 +47,7 @@
           groups_attribute_path = groups
           name_attribute_path = name
           use_pkce = true
+          auto_login = true
         mode: "0644"
 
     - name: Provision Prometheus