From 28428d37530973ae4e9f477586b4723fb3241797 Mon Sep 17 00:00:00 2001 From: Rod Boev Date: Fri, 31 Jul 2026 20:27:32 -0400 Subject: [PATCH] fix(auth): name both config forms in the allowlist warning (#6603) --- api/auth_oidc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/auth_oidc.py b/api/auth_oidc.py index 8adeba77..4168c338 100644 --- a/api/auth_oidc.py +++ b/api/auth_oidc.py @@ -41,8 +41,8 @@ _jwks_cache: dict[str, tuple[float, dict[str, Any]]] = {} _warned_allow_values: set[str] = set() _ALLOW_VALUES_WHITESPACE_WARNING = ( - "HERMES_WEBUI_OIDC_ALLOW_VALUES has one or more entries with internal whitespace; " - "whitespace is not a value separator, so a value like " + "webui_oidc.allow_values (HERMES_WEBUI_OIDC_ALLOW_VALUES) has one or more entries " + "with internal whitespace; whitespace is not a value separator, so a value like " '"alice@example.com bob@example.com" is treated as a single entry. ' 'Use a comma-delimited scalar (e.g. "value1,value2") or a YAML array. ' "If this is one intentional multi-word group, it is already correct and no action is needed."