Commit 93f634d2 by wzxjohn

feat: support empty well known url

parent 45073b3b
......@@ -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://')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment