From 71b2035dfb6bd02d5ae65e310ea6a18c2ce0253d Mon Sep 17 00:00:00 2001 From: Christopher Kolstad Date: Fri, 19 Jul 2024 14:39:34 +0200 Subject: [PATCH] chore: extend uiConfig schema with new SSO variables (#7628) As the title says. Adds two new nullable variables to uiConfig. Used in frontend to decide if SSO config is editable through the GUI --- src/lib/openapi/spec/ui-config-schema.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/lib/openapi/spec/ui-config-schema.ts b/src/lib/openapi/spec/ui-config-schema.ts index ee8d57140d..c8f18b0dd2 100644 --- a/src/lib/openapi/spec/ui-config-schema.ts +++ b/src/lib/openapi/spec/ui-config-schema.ts @@ -168,6 +168,18 @@ export const uiConfigSchema = { versionInfo: { $ref: '#/components/schemas/versionSchema', }, + oidcConfiguredThroughEnv: { + type: 'boolean', + description: + 'Whether the OIDC configuration is set through environment variables or not.', + example: false, + }, + samlConfiguredThroughEnv: { + type: 'boolean', + description: + 'Whether the SAML configuration is set through environment variables or not.', + example: false, + }, }, components: { schemas: {