auth: add imageFile option

This commit is contained in:
Alexander Tomokhov
2025-04-16 14:55:55 +04:00
parent 1f67bb5a85
commit 56a56b67b4
5 changed files with 76 additions and 10 deletions

View File

@@ -199,6 +199,13 @@ in
}
);
};
imageFile = mkOption {
type = types.nullOr lib.types.path;
description = ''
Filepath of an image which is displayed in Kanidm web GUI for a service.
'';
default = null;
};
};
}
);
@@ -294,6 +301,7 @@ in
, clientID
, displayName
, enablePkce
, imageFile
, originLanding
, originUrl
, scopeMaps
@@ -312,8 +320,9 @@ in
basicSecretFile
claimMaps
displayName
originUrl
imageFile
originLanding
originUrl
scopeMaps
;
preferShortUsername = useShortPreferredUsername;