1
0
Fork 0

add default dummy oidc authelia client to satisfy authelia

This commit is contained in:
ibizaman 2024-05-24 15:00:31 -07:00 committed by Pierre Penninckx
parent 8ec12338fd
commit 7020786c41

View file

@ -95,7 +95,16 @@ in
oidcClients = lib.mkOption { oidcClients = lib.mkOption {
description = "OIDC clients"; description = "OIDC clients";
default = []; default = [
{
id = "dummy_client";
description = "Dummy Client so Authelia can start";
secret.source = pkgs.writeText "dummy.secret" "dummy_client_secret";
public = false;
authorization_policy = "one_factor";
redirect_uris = [];
}
];
type = lib.types.listOf (lib.types.submodule { type = lib.types.listOf (lib.types.submodule {
freeformType = lib.types.attrsOf lib.types.anything; freeformType = lib.types.attrsOf lib.types.anything;