Merge pull request #142084 from mkg20001/hedge

Changed files
+63
nixos
modules
services
web-apps
+63
nixos/modules/services/web-apps/hedgedoc.nix
···
Specify the OAuth token URL.
'';
};
+
baseURL = mkOption {
+
type = with types; nullOr str;
+
default = null;
+
description = ''
+
Specify the OAuth base URL.
+
'';
+
};
+
userProfileURL = mkOption {
+
type = with types; nullOr str;
+
default = null;
+
description = ''
+
Specify the OAuth userprofile URL.
+
'';
+
};
+
userProfileUsernameAttr = mkOption {
+
type = with types; nullOr str;
+
default = null;
+
description = ''
+
Specify the name of the attribute for the username from the claim.
+
'';
+
};
+
userProfileDisplayNameAttr = mkOption {
+
type = with types; nullOr str;
+
default = null;
+
description = ''
+
Specify the name of the attribute for the display name from the claim.
+
'';
+
};
+
userProfileEmailAttr = mkOption {
+
type = with types; nullOr str;
+
default = null;
+
description = ''
+
Specify the name of the attribute for the email from the claim.
+
'';
+
};
+
scope = mkOption {
+
type = with types; nullOr str;
+
default = null;
+
description = ''
+
Specify the OAuth scope.
+
'';
+
};
+
providerName = mkOption {
+
type = with types; nullOr str;
+
default = null;
+
description = ''
+
Specify the name to be displayed for this strategy.
+
'';
+
};
+
rolesClaim = mkOption {
+
type = with types; nullOr str;
+
default = null;
+
description = ''
+
Specify the role claim name.
+
'';
+
};
+
accessRole = mkOption {
+
type = with types; nullOr str;
+
default = null;
+
description = ''
+
Specify role which should be included in the ID token roles claim to grant access
+
'';
+
};
clientID = mkOption {
type = types.str;
description = ''