add dex auth to grafana
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Vivian 2023-05-05 11:19:01 +02:00
parent 64bdee8a12
commit bb38cadb11
2 changed files with 30 additions and 6 deletions

View file

@ -62,12 +62,20 @@ in {
};
}];
staticClients = [{
staticClients = [
{
id = "outline";
name = "Outline";
redirectURIs = [ "https://outline.0x76.dev/auth/oidc.callback" ];
secretEnv = "OUTLINE_CLIENT_SECRET";
}];
}
{
id = "grafana";
name = "Grafana";
redirectURIs = [ "https://grafana.0x76.dev/login/generic_oauth" ];
secretEnv = "GRAFANA_CLIENT_SECRET";
}
];
};
environmentFile = "${vs.dex}/environment";