diff --git a/packages/builder/src/pages/builder/auth/login.svelte b/packages/builder/src/pages/builder/auth/login.svelte index 5d18f8efee1..47fdc2d4417 100644 --- a/packages/builder/src/pages/builder/auth/login.svelte +++ b/packages/builder/src/pages/builder/auth/login.svelte @@ -28,7 +28,7 @@ $: cloud = $admin.cloud if ($organisation.isSSOEnforced) { - await (await organisation.init()).oidc.init() + await organisation.init().oidc.init() if (organisation.oidc) { const url = `/api/global/auth/${$auth.tenantId}/oidc/configs/${$oidc.uuid}` window.location = url