From 8254c02603f5c6fe804af1834e06149838b781b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Rafael?= Date: Thu, 24 Oct 2024 10:09:44 +0200 Subject: [PATCH] Fix auth config oidc scope regex (#20483) --- .../base/left-side-nav/config/auth/config-auth.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/portal/src/app/base/left-side-nav/config/auth/config-auth.component.html b/src/portal/src/app/base/left-side-nav/config/auth/config-auth.component.html index 2b1401d1b..b5f408af7 100644 --- a/src/portal/src/app/base/left-side-nav/config/auth/config-auth.component.html +++ b/src/portal/src/app/base/left-side-nav/config/auth/config-auth.component.html @@ -906,7 +906,7 @@ size="40" required [disabled]="disabled(currentConfig.oidc_scope)" - pattern="^([\w.]+,){0,}openid(,[\w.]+){0,}$" /> + pattern='^(((?!["\\ ])[ -~])+,){0,}openid(,((?!["\\ ])[ -~])+){0,}$' /> {{ 'TOOLTIP.SCOPE_REQUIRED' | translate }}