diff --git a/modules/authelia.nix b/modules/authelia.nix index e66a072..579b4ce 100644 --- a/modules/authelia.nix +++ b/modules/authelia.nix @@ -204,10 +204,13 @@ in ]; rules = [ { - domain = "test.${cfg.domain}"; - policy = "one_factor"; + domain = fqdn; + policy = "bypass"; + resources = [ + "^/api/.*" + ]; } - ]; + ] ++ cfg.rules; }; identity_providers.oidc.clients = cfg.oidcClients; telemetry = {