mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/oauth2-proxy: remove *secretFile requirement
This commit is contained in:
parent
d4d72cce75
commit
0f7f3caa32
1 changed files with 0 additions and 8 deletions
|
|
@ -616,14 +616,6 @@ in
|
|||
assertion = cfg.clientID != null || cfg.keyFile != null;
|
||||
message = "Either services.oauth2-proxy.clientID or services.oauth2-proxy.keyFile must be specified.";
|
||||
}
|
||||
{
|
||||
assertion = cfg.clientSecretFile != null || cfg.keyFile != null;
|
||||
message = "Either services.oauth2-proxy.clientSecretFile or services.oauth2-proxy.keyFile must be specified.";
|
||||
}
|
||||
{
|
||||
assertion = cfg.cookie.secretFile != null || cfg.keyFile != null;
|
||||
message = "Either services.oauth2-proxy.cookie.secretFile or services.oauth2-proxy.keyFile must be specified.";
|
||||
}
|
||||
];
|
||||
|
||||
users.users.oauth2-proxy = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue