diff --git a/frontend/src/component/admin/auth/ScimSettings/ScimSettings.tsx b/frontend/src/component/admin/auth/ScimSettings/ScimSettings.tsx index 9430f29800..3c709ffd37 100644 --- a/frontend/src/component/admin/auth/ScimSettings/ScimSettings.tsx +++ b/frontend/src/component/admin/auth/ScimSettings/ScimSettings.tsx @@ -50,7 +50,7 @@ export const ScimSettings = () => { const saveScimSettings = async (enabled: boolean) => { try { setEnabled(enabled); - await saveSettings({ enabled, assumeControlOfExisting: false }); + await saveSettings({ enabled }); if (enabled && !settings.hasToken) { const token = await generateNewToken(); setNewToken(token); diff --git a/frontend/src/hooks/api/getters/useScimSettings/useScimSettings.ts b/frontend/src/hooks/api/getters/useScimSettings/useScimSettings.ts index cdfd4300c7..3f9da4b06a 100644 --- a/frontend/src/hooks/api/getters/useScimSettings/useScimSettings.ts +++ b/frontend/src/hooks/api/getters/useScimSettings/useScimSettings.ts @@ -9,13 +9,11 @@ const ENDPOINT = 'api/admin/scim-settings'; export type ScimSettings = { enabled: boolean; hasToken: boolean; - assumeControlOfExisting: boolean; }; const DEFAULT_DATA: ScimSettings = { enabled: false, hasToken: false, - assumeControlOfExisting: false, }; export const useScimSettings = () => {