diff --git a/src/lib/__snapshots__/create-config.test.ts.snap b/src/lib/__snapshots__/create-config.test.ts.snap index 860648aa2a..f573a3a4a2 100644 --- a/src/lib/__snapshots__/create-config.test.ts.snap +++ b/src/lib/__snapshots__/create-config.test.ts.snap @@ -134,6 +134,7 @@ exports[`should create default config 1`] = ` "proPlanAutoCharge": false, "responseTimeWithAppNameKillSwitch": false, "scheduledConfigurationChanges": false, + "scimApi": false, "sdkReporting": false, "showInactiveUsers": false, "strictSchemaValidation": false, diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts index 2d11ebe6f0..ff019e0920 100644 --- a/src/lib/types/experimental.ts +++ b/src/lib/types/experimental.ts @@ -51,7 +51,8 @@ export type IFlagKey = | 'userAccessUIEnabled' | 'disableUpdateMaxRevisionId' | 'disablePublishUnannouncedEvents' - | 'sdkReporting'; + | 'sdkReporting' + | 'scimApi'; export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>; @@ -252,6 +253,10 @@ const flags: IFlags = { process.env.UNLEASH_EXPERIMENTAL_DISABLE_SCHEDULED_CACHES, false, ), + scimApi: parseEnvVarBoolean( + process.env.UNLEASH_EXPERIMENTAL_SCIM_API, + false, + ), }; export const defaultExperimentalOptions: IExperimentalOptions = {