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: Creating dummy workspaces
Daniel Hougaard9b1a15331a71
diff --git a/frontend/src/components/signup/UserInfoStep.tsx b/frontend/src/components/signup/UserInfoStep.tsxindex 994ad5a724..43c4817632 100644--- a/frontend/src/components/signup/UserInfoStep.tsx+++ b/frontend/src/components/signup/UserInfoStep.tsx@@ -191,9 +191,10 @@ export default function UserInfoStep({const userOrgs = await fetchOrganizations();+ const orgSlug = userOrgs[0]?.slug;const orgId = userOrgs[0]?.id;const project = await ProjectService.initProject({- organizationId: orgId,+ organizationSlug: orgSlug,projectName: "Example Project"});diff --git a/frontend/src/helpers/project.ts b/frontend/src/helpers/project.tsindex 06f13dc656..33c9e5777d 100644--- a/frontend/src/helpers/project.ts+++ b/frontend/src/helpers/project.ts@@ -78,17 +78,17 @@ const secretsToBeAdded = [* @returns {Project} project - new project*/const initProjectHelper = async ({- organizationId,+ organizationSlug,projectName}: {- organizationId: string;+ organizationSlug: string;projectName: string;}) => {// create new projectconst {data: { project }} = await createWorkspace({- organizationId,+ organizationSlug,projectName});diff --git a/frontend/src/views/Signup/components/UserInfoSSOStep/UserInfoSSOStep.tsx b/frontend/src/views/Signup/components/UserInfoSSOStep/UserInfoSSOStep.tsxindex 918a625516..b5e07286f9 100644--- a/frontend/src/views/Signup/components/UserInfoSSOStep/UserInfoSSOStep.tsx+++ b/frontend/src/views/Signup/components/UserInfoSSOStep/UserInfoSSOStep.tsx@@ -188,8 +188,9 @@ export const UserInfoSSOStep = ({const userOrgs = await fetchOrganizations();const orgId = userOrgs[0]?.id;+ const orgSlug = userOrgs[0]?.slug;const project = await ProjectService.initProject({- organizationId: orgId,+ organizationSlug: orgSlug,projectName: "Example Project"});