grafana: fix ldap login when someone changed their mail
This commit is contained in:
parent
edcab7e7a2
commit
d10351d633
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue