diff --git a/packages/builder/src/pages/builder/auth/_components/OIDCButton.svelte b/packages/builder/src/pages/builder/auth/_components/OIDCButton.svelte index 351370b871..96b247b150 100644 --- a/packages/builder/src/pages/builder/auth/_components/OIDCButton.svelte +++ b/packages/builder/src/pages/builder/auth/_components/OIDCButton.svelte @@ -24,9 +24,9 @@ window.open("/api/admin/auth/oidc", "_blank")}>
oidc icon

{`Sign in with ${oidcName || "OIDC"}`}

diff --git a/packages/builder/src/pages/builder/portal/manage/auth/index.svelte b/packages/builder/src/pages/builder/portal/manage/auth/index.svelte index ddda8e226b..623d80400b 100644 --- a/packages/builder/src/pages/builder/portal/manage/auth/index.svelte +++ b/packages/builder/src/pages/builder/portal/manage/auth/index.svelte @@ -46,12 +46,12 @@ } const OIDCConfigFields = { - Oidc: ["configUrl", "clientId", "clientSecret"], + Oidc: ["configUrl", "clientID", "clientSecret"], } const OIDCConfigLabels = { Oidc: { configUrl: "Config URL", - clientId: "Client ID", + clientID: "Client ID", clientSecret: "Client Secret", }, } diff --git a/packages/worker/src/api/routes/admin/configs.js b/packages/worker/src/api/routes/admin/configs.js index 66c6c29c7b..67e110aa1b 100644 --- a/packages/worker/src/api/routes/admin/configs.js +++ b/packages/worker/src/api/routes/admin/configs.js @@ -47,8 +47,8 @@ function oidcValidation() { clientID: Joi.string().required(), clientSecret: Joi.string().required(), configUrl: Joi.string().required(), - iconName: Joi.string().required(), - name: Joi.string().required(), + iconName: Joi.string().optional(), + name: Joi.string().optional(), }).unknown(true) }