add default dummy oidc authelia client to satisfy authelia
This commit is contained in:
parent
8ec12338fd
commit
7020786c41
1 changed files with 10 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue