change grafana oauth config
This commit is contained in:
parent
22fef6fca8
commit
93793616c0
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue