change grafana oauth config
This commit is contained in:
@@ -30,6 +30,7 @@ let
|
||||
};
|
||||
in
|
||||
{
|
||||
systemd.services.grafana.script = lib.mkBefore "export GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET=$(cat /run/secrets/grafana-oauth-secret)";
|
||||
services.grafana = {
|
||||
enable = true;
|
||||
settings = {
|
||||
@@ -42,7 +43,6 @@ in
|
||||
name = "Authelia";
|
||||
icon = "signin";
|
||||
client_id = "grafana";
|
||||
client_secret = "$__file{/run/secrets/grafana-oauth-secret}";
|
||||
scopes = "openid profile email groups";
|
||||
empty_scopes = false;
|
||||
auth_url = "https://auth.cloonar.com/api/oidc/authorization";
|
||||
|
||||
Reference in New Issue
Block a user