From ea3e34a304b5596f75cf5515442a6aaa4015c4e0 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Mon, 28 Oct 2024 21:06:56 -0700 Subject: [PATCH] grafana auth --- lotus-land-story/grafana.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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