From 472f1220f0aa77d496379d3d6a7e16cf00b50509 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 27 Feb 2025 11:52:39 +0100 Subject: [PATCH] oidc realm: add format_description to role-assignment schema to make our JSON schema api-docs extraction happy. Signed-off-by: Thomas Lamprecht --- src/PMG/Auth/OIDC.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PMG/Auth/OIDC.pm b/src/PMG/Auth/OIDC.pm index a783c70..b2b1a05 100755 --- a/src/PMG/Auth/OIDC.pm +++ b/src/PMG/Auth/OIDC.pm @@ -31,6 +31,7 @@ my $autocreate_role_assignment_format = { 'role-claim' => { description => "OIDC claim used to assign the unique username.", type => 'string', + format_description => 'Role claim.', default => 'role', optional => 1, pattern => qr/^[a-zA-Z0-9._:-]+$/,