From 1a8fd61a981600c9dd7d21d596b0b00a2ce6691e Mon Sep 17 00:00:00 2001 From: wzxjohn Date: Thu, 24 Apr 2025 21:03:55 +0800 Subject: [PATCH] feat: support empty well known url --- web/src/components/SystemSetting.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/SystemSetting.js b/web/src/components/SystemSetting.js index 96cd0386..0b683906 100644 --- a/web/src/components/SystemSetting.js +++ b/web/src/components/SystemSetting.js @@ -374,7 +374,7 @@ const SystemSetting = () => { }; const submitOIDCSettings = async () => { - if (inputs['oidc.well_known'] !== '') { + if (inputs['oidc.well_known'] && inputs['oidc.well_known'] !== '') { if ( !inputs['oidc.well_known'].startsWith('http://') && !inputs['oidc.well_known'].startsWith('https://')