From 7020786c412e824429f59c999e2af6c948954e05 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Fri, 24 May 2024 15:00:31 -0700 Subject: [PATCH] add default dummy oidc authelia client to satisfy authelia --- modules/blocks/authelia.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/modules/blocks/authelia.nix b/modules/blocks/authelia.nix index 3670c20..e622efa 100644 --- a/modules/blocks/authelia.nix +++ b/modules/blocks/authelia.nix @@ -95,7 +95,16 @@ in oidcClients = lib.mkOption { 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 { freeformType = lib.types.attrsOf lib.types.anything;