Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix: prevent example project from being created when joining existing org SSO
Scott Wilson6ddc4ce4b1ad
diff --git a/backend/src/ee/services/license/license-fns.ts b/backend/src/ee/services/license/license-fns.tsindex fa67b72d16..b4424797ac 100644--- a/backend/src/ee/services/license/license-fns.ts+++ b/backend/src/ee/services/license/license-fns.ts@@ -30,9 +30,9 @@ export const getDefaultOnPremFeatures = (): TFeatureSet => ({auditLogStreamLimit: 3,samlSSO: false,oidcSSO: false,- scim: false,+ scim: true,ldap: false,- groups: false,+ groups: true,status: null,trial_end: null,has_used_trial: true,diff --git a/frontend/src/views/Signup/components/UserInfoSSOStep/UserInfoSSOStep.tsx b/frontend/src/views/Signup/components/UserInfoSSOStep/UserInfoSSOStep.tsxindex c65317662e..f502d3c6ba 100644--- a/frontend/src/views/Signup/components/UserInfoSSOStep/UserInfoSSOStep.tsx+++ b/frontend/src/views/Signup/components/UserInfoSSOStep/UserInfoSSOStep.tsx@@ -176,12 +176,16 @@ export const UserInfoSSOStep = ({organizationId: orgId});- const project = await ProjectService.initProject({- projectName: "Example Project"- });+ // only create example project if not joining existing org+ if (!providerOrganizationName) {+ const project = await ProjectService.initProject({+ projectName: "Example Project"+ });++ localStorage.setItem("projectData.id", project.id);+ }localStorage.setItem("orgData.id", orgId);- localStorage.setItem("projectData.id", project.id);setStep(2);} catch (error) {