diff --git a/hosts/grafana/default.nix b/hosts/grafana/default.nix index 0c8ccf26..c87fea99 100644 --- a/hosts/grafana/default.nix +++ b/hosts/grafana/default.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ config, pkgs, ... }: { microvm.mem = 4096; @@ -57,6 +57,7 @@ disable_login_form = true; # only allow OAuth icon = "signin"; name = "auth.c3d2.de"; + oauth_allow_insecure_email_lookup = true; oauth_auto_login = true; # redirect automatically to the only oauth provider role_attribute_path = "contains(groups[*], 'grafana-admins') && 'Admin'"; # https://dexidp.io/docs/custom-scopes-claims-clients/