Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: update sso sign up to use onbaording flow

Scott Wilsond292c7db1a3e
diff --git a/backend/src/db/migrations/20260728234251_create-signup-onboarding-responses.ts b/backend/src/db/migrations/20260728234251_create-signup-onboarding-responses.ts
new file mode 100644
index 0000000000..46592a4b7b
--- /dev/null
+++ b/backend/src/db/migrations/20260728234251_create-signup-onboarding-responses.ts
@@ -0,0 +1,37 @@
+import { Knex } from "knex";
+
+import { TableName } from "../schemas";
+import { createOnUpdateTrigger, dropOnUpdateTrigger } from "../utils";
+
+export async function up(knex: Knex): Promise<void> {
+ if (!(await knex.schema.hasTable(TableName.SignupOnboardingResponse))) {
+ await knex.schema.createTable(TableName.SignupOnboardingResponse, (t) => {
+ t.uuid("id", { primaryKey: true }).defaultTo(knex.fn.uuid());
+
+ t.uuid("userId").notNullable();
+ t.foreign("userId").references("id").inTable(TableName.Users).onDelete("CASCADE");
+
+ t.uuid("orgId").notNullable();
+ t.foreign("orgId").references("id").inTable(TableName.Organization).onDelete("CASCADE");
+ t.index("orgId");
+
+ // Answers arrive across separate requests, merged into one row per signup.
+ t.unique(["userId", "orgId"]);
+
+ // null = question not answered yet; [] = "just exploring".
+ t.specificType("selectedProducts", "text[]");
+ t.boolean("isExploring");
+ t.string("launchDestination");
+ t.string("attributionSource", 512);
+
+ t.timestamps(true, true, true);
+ });
+
+ await createOnUpdateTrigger(knex, TableName.SignupOnboardingResponse);
+ }
+}
+
+export async function down(knex: Knex): Promise<void> {
+ await knex.schema.dropTableIfExists(TableName.SignupOnboardingResponse);
+ await dropOnUpdateTrigger(knex, TableName.SignupOnboardingResponse);
+}
diff --git a/backend/src/db/schemas/signup-onboarding-responses.ts b/backend/src/db/schemas/signup-onboarding-responses.ts
new file mode 100644
index 0000000000..45635310b5
--- /dev/null
+++ b/backend/src/db/schemas/signup-onboarding-responses.ts
@@ -0,0 +1,26 @@
+// Code generated by automation script, DO NOT EDIT.
+// Automated by pulling database and generating zod schema
+// To update. Just run npm run generate:schema
+// Written by akhilmhdh.
+
+import { z } from "zod";
+
+import { TImmutableDBKeys } from "./models";
+
+export const SignupOnboardingResponsesSchema = z.object({
+ id: z.string().uuid(),
+ userId: z.string().uuid(),
+ orgId: z.string().uuid(),
+ selectedProducts: z.string().array().nullable().optional(),
+ isExploring: z.boolean().nullable().optional(),
+ launchDestination: z.string().nullable().optional(),
+ attributionSource: z.string().nullable().optional(),
+ createdAt: z.date(),
+ updatedAt: z.date()
+});
+
+export type TSignupOnboardingResponses = z.infer<typeof SignupOnboardingResponsesSchema>;
+export type TSignupOnboardingResponsesInsert = Omit<z.input<typeof SignupOnboardingResponsesSchema>, TImmutableDBKeys>;
+export type TSignupOnboardingResponsesUpdate = Partial<
+ Omit<z.input<typeof SignupOnboardingResponsesSchema>, TImmutableDBKeys>
+>;
diff --git a/backend/src/services/auth/auth-signup-onboarding-dal.ts b/backend/src/services/auth/auth-signup-onboarding-dal.ts
new file mode 100644
index 0000000000..cf59d886e2
--- /dev/null
+++ b/backend/src/services/auth/auth-signup-onboarding-dal.ts
@@ -0,0 +1,7 @@
+import { TDbClient } from "@app/db";
+import { TableName } from "@app/db/schemas";
+import { ormify } from "@app/lib/knex";
+
+export type TSignupOnboardingResponseDALFactory = ReturnType<typeof signupOnboardingResponseDALFactory>;
+
+export const signupOnboardingResponseDALFactory = (db: TDbClient) => ormify(db, TableName.SignupOnboardingResponse);
diff --git a/frontend/src/components/auth/AuthTermsNotice.tsx b/frontend/src/components/auth/AuthTermsNotice.tsx
new file mode 100644
index 0000000000..6a3ad6297d
--- /dev/null
+++ b/frontend/src/components/auth/AuthTermsNotice.tsx
@@ -0,0 +1,26 @@
+const linkClassName =
+ "underline underline-offset-2 transition-colors duration-200 hover:text-foreground hover:decoration-project/45";
+
+export const AuthTermsNotice = () => (
+ <p className="text-xs text-pretty text-label">
+ By signing up, you agree to our{" "}
+ <a
+ href="https://infisical.com/terms/cloud"
+ target="_blank"
+ rel="noopener noreferrer"
+ className={linkClassName}
+ >
+ Terms of Service
+ </a>{" "}
+ and{" "}
+ <a
+ href="https://infisical.com/privacy"
+ target="_blank"
+ rel="noopener noreferrer"
+ className={linkClassName}
+ >
+ Privacy Policy
+ </a>
+ .
+ </p>
+);
diff --git a/frontend/src/components/auth/OrgNameStep.tsx b/frontend/src/components/auth/OrgNameStep.tsx
new file mode 100644
index 0000000000..f525377160
--- /dev/null
+++ b/frontend/src/components/auth/OrgNameStep.tsx
@@ -0,0 +1,106 @@
+import { useForm } from "react-hook-form";
+import { zodResolver } from "@hookform/resolvers/zod";
+import { useNavigate } from "@tanstack/react-router";
+import { z } from "zod";
+
+import {
+ Button,
+ CardContent,
+ CardDescription,
+ CardHeader,
+ CardTitle,
+ Field,
+ FieldError,
+ FieldLabel,
+ Input
+} from "@app/components/v3";
+import { useCreateOrg } from "@app/hooks/api";
+import { useSelectOrganization } from "@app/hooks/api/auth/queries";
+import { GenericResourceNameSchema } from "@app/lib/schemas";
+
+import { AuthPagePanel } from "./AuthPagePanel";
+
+const formSchema = z.object({ organizationName: GenericResourceNameSchema });
+
+type OrgNameFormData = z.infer<typeof formSchema>;
+
+interface OrgNameStepProps {
+ onComplete: (orgId: string) => void;
+}
+
+export default function OrgNameStep({ onComplete }: OrgNameStepProps): JSX.Element {
+ const navigate = useNavigate();
+ const { mutateAsync: createOrg, isPending: isCreating } = useCreateOrg({ invalidate: false });
+ const { mutateAsync: selectOrganization, isPending: isSelecting } = useSelectOrganization();
+
+ const {
+ register,
+ handleSubmit,
+ formState: { errors }
+ } = useForm<OrgNameFormData>({
+ resolver: zodResolver(formSchema),
+ defaultValues: { organizationName: "" }
+ });
+
+ const onSubmit = async ({ organizationName }: OrgNameFormData) => {
+ try {
+ const organization = await createOrg({ name: organizationName });
+ const { isMfaEnabled } = await selectOrganization({ organizationId: organization.id });
+ if (isMfaEnabled) {
+ navigate({
+ to: "/login/select-organization",
+ search: { org_id: organization.id }
+ });
+ return;
+ }
+ localStorage.setItem("orgData.id", organization.id);
+ onComplete(organization.id);
+ } catch {
+ // The global mutation error handler already surfaces a toast; stay on this step.
+ }
+ };
+
+ return (
+ <div className="mx-auto flex w-full flex-col items-center justify-center">
+ <AuthPagePanel>
+ <CardHeader className="mb-4 gap-2">
+ <CardTitle className="bg-linear-to-b from-white to-bunker-200 bg-clip-text font-alliance text-2xl font-normal text-transparent">
+ Name your organization
+ </CardTitle>
+ <CardDescription className="text-sm text-label">
+ This is your team&apos;s shared home in Infisical. You can rename it anytime.
+ </CardDescription>
+ </CardHeader>
+ <CardContent>
+ <form className="flex flex-col gap-4" onSubmit={handleSubmit(onSubmit)}>
+ <Field data-invalid={Boolean(errors.organizationName)}>
+ <FieldLabel className="sr-only" htmlFor="sso-organization-name">
+ Organization Name
+ </FieldLabel>
+ <Input
+ {...register("organizationName")}
+ id="sso-organization-name"
+ placeholder="Organization Name"
+ maxLength={64}
+ autoComplete="organization"
+ isError={Boolean(errors.organizationName)}
+ />
+ {errors.organizationName ? (
+ <FieldError>{errors.organizationName.message}</FieldError>
+ ) : null}
+ </Field>
+ <Button
+ type="submit"
+ variant="project"
+ size="lg"
+ isFullWidth
+ isPending={isCreating || isSelecting}
+ >
+ Continue
+ </Button>
+ </form>
+ </CardContent>
+ </AuthPagePanel>
+ </div>
+ );
+}
diff --git a/frontend/src/pages/auth/SelectOrgPage/route.tsx b/frontend/src/pages/auth/SelectOrgPage/route.tsx
index 527413016c..f21539fd1d 100644
--- a/frontend/src/pages/auth/SelectOrgPage/route.tsx
+++ b/frontend/src/pages/auth/SelectOrgPage/route.tsx
@@ -54,6 +54,24 @@ export const Route = createFileRoute("/_restrict-login-signup/login/select-organ
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({ event: "signup_completed" });
}
+
+ // Provider-verified signups arrive with no org; send them to org setup instead of the
+ // personal-org fallback. Fetch errors fall through to the strip-redirect, whose main
+ // flow re-fetches and surfaces them.
+ let hasNoOrg = false;
+ try {
+ const orgsWithSubOrgs = await context.queryClient.ensureQueryData({
+ queryKey: organizationKeys.getUserOrganizationsWithSubOrgs,
+ queryFn: fetchOrganizationsWithSubOrgs
+ });
+ hasNoOrg = orgsWithSubOrgs.length === 0;
+ } catch {
+ hasNoOrg = false;
+ }
+ if (hasNoOrg) {
+ throw redirect({ to: "/organizations/onboarding", replace: true });
+ }
+
// Consume the one-shot param so refresh/back-nav can't re-fire the conversion event
// (search middlewares never run on the initial document load, so it must be stripped here).
throw redirect({
diff --git a/frontend/src/pages/auth/SignUpPage/SignUpPage.tsx b/frontend/src/pages/auth/SignUpPage/SignUpPage.tsx
index 7f06faaf3d..b5a518de13 100644
--- a/frontend/src/pages/auth/SignUpPage/SignUpPage.tsx
+++ b/frontend/src/pages/auth/SignUpPage/SignUpPage.tsx
@@ -4,6 +4,7 @@ import { useTranslation } from "react-i18next";
import { Link, useNavigate } from "@tanstack/react-router";
import { AuthPageLayout } from "@app/components/auth/AuthPageLayout";
+import { AuthTermsNotice } from "@app/components/auth/AuthTermsNotice";
import CodeInputStep from "@app/components/auth/CodeInputStep";
import InitialSignupStep from "@app/components/auth/InitialSignupStep";
import ProductSelectionStep from "@app/components/auth/ProductSelectionStep";
@@ -213,30 +214,6 @@ export const SignUpPage = ({ invite }: SignUpPageProps) => {
}
};
- const termsNotice = (
- <p className="text-xs text-pretty text-label">
- By signing up, you agree to our{" "}
- <a
- href="https://infisical.com/terms/cloud"
- target="_blank"
- rel="noopener noreferrer"
- className="underline underline-offset-2 transition-colors duration-200 hover:text-foreground hover:decoration-project/45"
- >
- Terms of Service
- </a>{" "}
- and{" "}
- <a
- href="https://infisical.com/privacy"
- target="_blank"
- rel="noopener noreferrer"
- className="underline underline-offset-2 transition-colors duration-200 hover:text-foreground hover:decoration-project/45"
- >
- Privacy Policy
- </a>
- .
- </p>
- );
-
const renderBottomContent = () => {
if (
section === SignupSection.Email ||
@@ -244,7 +221,7 @@ export const SignUpPage = ({ invite }: SignUpPageProps) => {
section === SignupSection.InviteTeam ||
section === SignupSection.Complete
) {
- return termsNotice;
+ return <AuthTermsNotice />;
}
if (section === SignupSection.VerifyCode) {
diff --git a/frontend/src/pages/auth/SignUpSsoPage/SignUpSsoPage.tsx b/frontend/src/pages/auth/SignUpSsoPage/SignUpSsoPage.tsx
index bebdd7caeb..bd7e7c026b 100644
--- a/frontend/src/pages/auth/SignUpSsoPage/SignUpSsoPage.tsx
+++ b/frontend/src/pages/auth/SignUpSsoPage/SignUpSsoPage.tsx
@@ -21,6 +21,7 @@ import { isInfisicalCloud } from "@app/helpers/platform";
import { getHubSpotUtk } from "@app/helpers/utmTracking";
import { useSendEmailVerificationCode } from "@app/hooks/api";
import { useCompleteAccountSignup } from "@app/hooks/api/auth/queries";
+import { fetchOrganizations } from "@app/hooks/api/organization/queries";
const CLIENT_RESEND_DELAY_SECONDS = 20;
@@ -70,14 +71,23 @@ export const SignupSsoPage = () => {
text: "Successfully verified",
type: "success"
});
- if (organizationId) {
- navigate({
- to: "/organizations/$orgId/projects",
- params: { orgId: organizationId }
- });
- } else {
- navigate({ to: "/login/select-organization" });
+
+ // People who already belong to an org (SAML/OIDC/LDAP, invites) are joining an existing
+ // workspace, so org setup doesn't apply; keep sending them straight in.
+ const userOrgs = await fetchOrganizations();
+ if (userOrgs.length > 0) {
+ if (organizationId) {
+ navigate({
+ to: "/organizations/$orgId/projects",
+ params: { orgId: organizationId }
+ });
+ } else {
+ navigate({ to: "/login/select-organization" });
+ }
+ return;
}
+
+ navigate({ to: "/organizations/onboarding" });
};
const handleResendCode = async () => {
@@ -98,7 +108,6 @@ export const SignupSsoPage = () => {
return (
<AuthPageLayout
- variant="focused"
headerAction={
<Button asChild variant="outline" size="sm">
<Link to="/login">Log In</Link>
diff --git a/frontend/src/pages/middlewares/authenticate.tsx b/frontend/src/pages/middlewares/authenticate.tsx
index 8890b420fa..cb77c93654 100644
--- a/frontend/src/pages/middlewares/authenticate.tsx
+++ b/frontend/src/pages/middlewares/authenticate.tsx
@@ -48,7 +48,8 @@ export const Route = createFileRoute("/_authenticate")({
if (
!data.organizationId &&
location.pathname !== ROUTE_PATHS.Auth.PasswordSetupPage.path &&
- location.pathname !== "/organizations/none"
+ location.pathname !== "/organizations/none" &&
+ location.pathname !== "/organizations/onboarding"
) {
throw redirect({ to: "/login/select-organization" });
}
diff --git a/frontend/src/pages/organization/SignupOnboardingPage/SignupOnboardingPage.tsx b/frontend/src/pages/organization/SignupOnboardingPage/SignupOnboardingPage.tsx
new file mode 100644
index 0000000000..2a46e7bf7d
--- /dev/null
+++ b/frontend/src/pages/organization/SignupOnboardingPage/SignupOnboardingPage.tsx
@@ -0,0 +1,196 @@
+import { useEffect, useRef, useState } from "react";
+import { Helmet } from "react-helmet";
+import { useTranslation } from "react-i18next";
+import { useNavigate } from "@tanstack/react-router";
+
+import { AuthPageLayout } from "@app/components/auth/AuthPageLayout";
+import { AuthTermsNotice } from "@app/components/auth/AuthTermsNotice";
+import OrgNameStep from "@app/components/auth/OrgNameStep";
+import ProductSelectionStep from "@app/components/auth/ProductSelectionStep";
+import SignupCompleteStep from "@app/components/auth/SignupCompleteStep";
+import { getSignupProduct, SignupProductType } from "@app/components/auth/signupProducts";
+import TeamInviteStep from "@app/components/auth/TeamInviteStep";
+import { ContentLoader } from "@app/components/v2";
+import { useSelectOrganization } from "@app/hooks/api/auth/queries";
+import { fetchOrganizations } from "@app/hooks/api/organization/queries";
+import { Project, ProjectType } from "@app/hooks/api/projects/types";
+import { useFetchServerStatus } from "@app/hooks/api/serverDetails";
+
+enum OnboardingSection {
+ Loading = "loading",
+ OrgName = "org-name",
+ ProductSelect = "product-select",
+ InviteTeam = "invite-team",
+ Complete = "complete"
+}
+
+// The completion summary shows no counter.
+const STEP_NUMBERS: Partial<Record<OnboardingSection, number>> = {
+ [OnboardingSection.OrgName]: 1,
+ [OnboardingSection.ProductSelect]: 2,
+ [OnboardingSection.InviteTeam]: 3
+};
+
+/**
+ * Org setup for freshly signed-up people who have no organization yet: provider-verified
+ * OAuth signups (which bypass /signup/sso) and code-verified SSO signups both land here.
+ */
+export const SignupOnboardingPage = () => {
+ const { t } = useTranslation();
+ const navigate = useNavigate();
+ const { data: serverDetails } = useFetchServerStatus();
+ const { mutateAsync: selectOrganization } = useSelectOrganization();
+
+ const [section, setSection] = useState<OnboardingSection>(OnboardingSection.Loading);
+ const [orgId, setOrgId] = useState("");
+ // An empty selection means "just exploring".
+ const [selectedProducts, setSelectedProducts] = useState<SignupProductType[]>([]);
+ const [createdProjects, setCreatedProjects] = useState<
+ Partial<Record<SignupProductType, Project>>
+ >({});
+
+ // Guards against React strict-mode's double-invoke re-running the entry check.
+ const hasRun = useRef(false);
+
+ useEffect(() => {
+ if (hasRun.current) return;
+ hasRun.current = true;
+
+ // A refresh mid-flow can arrive with the org already created; resume at product
+ // selection instead of prompting for (and creating) a second org.
+ const resolveEntrySection = async () => {
+ try {
+ const orgs = await fetchOrganizations();
+ if (orgs.length === 0) {
+ setSection(OnboardingSection.OrgName);
+ return;
+ }
+
+ const existingOrgId = orgs[0].id;
+ const { isMfaEnabled } = await selectOrganization({ organizationId: existingOrgId });
+ if (isMfaEnabled) {
+ navigate({
+ to: "/login/select-organization",
+ search: { org_id: existingOrgId }
+ });
+ return;
+ }
+ localStorage.setItem("orgData.id", existingOrgId);
+ setOrgId(existingOrgId);
+ setSection(OnboardingSection.ProductSelect);
+ } catch {
+ navigate({ to: "/login/select-organization" });
+ }
+ };
+
+ resolveEntrySection();
+ }, [selectOrganization, navigate]);
+
+ const handleOrgNameComplete = (newOrgId: string) => {
+ setOrgId(newOrgId);
+ setSection(OnboardingSection.ProductSelect);
+ };
+
+ const handleProductSelectComplete = (
+ products: SignupProductType[],
+ projects: Partial<Record<SignupProductType, Project>>
+ ) => {
+ setSelectedProducts(products);
+ setCreatedProjects(projects);
+ // The invite step needs a working email service; skip straight to the summary without one.
+ setSection(
+ serverDetails?.emailConfigured ? OnboardingSection.InviteTeam : OnboardingSection.Complete
+ );
+ };
+
+ const renderView = () => {
+ switch (section) {
+ case OnboardingSection.OrgName:
+ return <OrgNameStep onComplete={handleOrgNameComplete} />;
+ case OnboardingSection.ProductSelect:
+ return <ProductSelectionStep onComplete={handleProductSelectComplete} />;
+ case OnboardingSection.InviteTeam:
+ return (
+ <TeamInviteStep
+ productName={
+ selectedProducts.length === 1
+ ? getSignupProduct(selectedProducts[0])?.name
+ : undefined
+ }
+ projectIds={Object.values(createdProjects).flatMap((project) =>
+ project ? [project.id] : []
+ )}
+ grantPamAccess={selectedProducts.includes(ProjectType.PAM)}
+ onComplete={() => setSection(OnboardingSection.Complete)}
+ />
+ );
+ case OnboardingSection.Complete:
+ return (
+ <SignupCompleteStep
+ orgId={orgId}
+ products={selectedProducts}
+ projects={createdProjects}
+ />
+ );
+ default:
+ return <ContentLoader text="Loading your account..." />;
+ }
+ };
+
+ const totalSteps = serverDetails?.emailConfigured ? 3 : 2;
+ const stepNumber = STEP_NUMBERS[section];
+ const stepIndicator = stepNumber ? (
+ <span className="rounded-sm border border-border bg-container/50 px-2.5 py-0.5 font-jetbrains-mono text-[10px] tracking-widest text-muted uppercase">
+ Step {stepNumber} of {totalSteps}
+ </span>
+ ) : undefined;
+
+ const completeAsideDescription = (() => {
+ if (selectedProducts.length === 0) return "Your organization overview has everything laid out.";
+ if (selectedProducts.length === 1) {
+ return `${getSignupProduct(selectedProducts[0])?.name} is set up and ready to use.`;
+ }
+ return "Your products are set up and ready to go.";
+ })();
+ const asideContent = (() => {
+ switch (section) {
+ case OnboardingSection.ProductSelect:
+ return {
+ eyebrow: "One platform, five products",
+ description:
+ "Secrets, PKI, KMS, privileged access, and scanning. Start where it hurts most."
+ };
+ case OnboardingSection.InviteTeam:
+ return {
+ eyebrow: "Better together",
+ description: "Infisical works best when your whole team is in one place."
+ };
+ case OnboardingSection.Complete:
+ return {
+ eyebrow: "You're all set",
+ description: completeAsideDescription
+ };
+ default:
+ return undefined;
+ }
+ })();
+
+ return (
+ <AuthPageLayout
+ showFooter={false}
+ headerAction={stepIndicator}
+ aside={asideContent}
+ bottomContent={
+ section !== OnboardingSection.Loading && section !== OnboardingSection.OrgName ? (
+ <AuthTermsNotice />
+ ) : undefined
+ }
+ >
+ <Helmet>
+ <title>{t("common.head-title", { title: t("signup.title") })}</title>
+ <link rel="icon" href="/infisical.ico" />
+ </Helmet>
+ {renderView()}
+ </AuthPageLayout>
+ );
+};
diff --git a/frontend/src/pages/organization/SignupOnboardingPage/route.tsx b/frontend/src/pages/organization/SignupOnboardingPage/route.tsx
new file mode 100644
index 0000000000..8b732e7a18
--- /dev/null
+++ b/frontend/src/pages/organization/SignupOnboardingPage/route.tsx
@@ -0,0 +1,7 @@
+import { createFileRoute } from "@tanstack/react-router";
+
+import { SignupOnboardingPage } from "./SignupOnboardingPage";
+
+export const Route = createFileRoute("/_authenticate/organizations/onboarding")({
+ component: SignupOnboardingPage
+});
diff --git a/frontend/src/routeTree.gen.ts b/frontend/src/routeTree.gen.ts
index bd0613bee7..3c068b66b2 100644
--- a/frontend/src/routeTree.gen.ts
+++ b/frontend/src/routeTree.gen.ts
@@ -36,6 +36,7 @@ import { Route as authLoginOidcPageRouteImport } from './pages/auth/LoginOidcPag
import { Route as authLoginLdapPageRouteImport } from './pages/auth/LoginLdapPage/route'
import { Route as authAdminLoginPageRouteImport } from './pages/auth/AdminLoginPage/route'
import { Route as adminSignUpPageRouteImport } from './pages/admin/SignUpPage/route'
+import { Route as organizationSignupOnboardingPageRouteImport } from './pages/organization/SignupOnboardingPage/route'
import { Route as organizationNoOrgPageRouteImport } from './pages/organization/NoOrgPage/route'
import { Route as organizationOauthConsentPageRouteImport } from './pages/organization/OauthConsentPage/route'
import { Route as organizationMcpEndpointFinalizePageRouteImport } from './pages/organization/McpEndpointFinalizePage/route'
@@ -594,6 +595,13 @@ const adminSignUpPageRouteRoute = adminSignUpPageRouteImport.update({
getParentRoute: () => middlewaresRestrictLoginSignupRoute,
} as any)
+const organizationSignupOnboardingPageRouteRoute =
+ organizationSignupOnboardingPageRouteImport.update({
+ id: '/organizations/onboarding',
+ path: '/organizations/onboarding',
+ getParentRoute: () => middlewaresAuthenticateRoute,
+ } as any)
+
const organizationNoOrgPageRouteRoute = organizationNoOrgPageRouteImport.update(
{
id: '/organizations/none',
@@ -2886,6 +2894,13 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof organizationNoOrgPageRouteImport
parentRoute: typeof middlewaresAuthenticateImport
}
+ '/_authenticate/organizations/onboarding': {
+ id: '/_authenticate/organizations/onboarding'
+ path: '/organizations/onboarding'
+ fullPath: '/organizations/onboarding'
+ preLoaderRoute: typeof organizationSignupOnboardingPageRouteImport
+ parentRoute: typeof middlewaresAuthenticateImport
+ }
'/_restrict-login-signup/admin/signup': {
id: '/_restrict-login-signup/admin/signup'
path: '/admin/signup'
@@ -6165,6 +6180,7 @@ interface middlewaresAuthenticateRouteChildren {
organizationMcpEndpointFinalizePageRouteRoute: typeof organizationMcpEndpointFinalizePageRouteRoute
organizationOauthConsentPageRouteRoute: typeof organizationOauthConsentPageRouteRoute
organizationNoOrgPageRouteRoute: typeof organizationNoOrgPageRouteRoute
+ organizationSignupOnboardingPageRouteRoute: typeof organizationSignupOnboardingPageRouteRoute
}
const middlewaresAuthenticateRouteChildren: middlewaresAuthenticateRouteChildren =
@@ -6180,6 +6196,8 @@ const middlewaresAuthenticateRouteChildren: middlewaresAuthenticateRouteChildren
organizationOauthConsentPageRouteRoute:
organizationOauthConsentPageRouteRoute,
organizationNoOrgPageRouteRoute: organizationNoOrgPageRouteRoute,
+ organizationSignupOnboardingPageRouteRoute:
+ organizationSignupOnboardingPageRouteRoute,
}
const middlewaresAuthenticateRouteWithChildren =
@@ -6279,6 +6297,7 @@ export interface FileRoutesByFullPath {
'/organization/mcp-endpoint-finalize': typeof organizationMcpEndpointFinalizePageRouteRoute
'/organization/oauth-consent': typeof organizationOauthConsentPageRouteRoute
'/organizations/none': typeof organizationNoOrgPageRouteRoute
+ '/organizations/onboarding': typeof organizationSignupOnboardingPageRouteRoute
'/admin/signup': typeof adminSignUpPageRouteRoute
'/login/admin': typeof authAdminLoginPageRouteRoute
'/login/ldap': typeof authLoginLdapPageRouteRoute
@@ -6575,6 +6594,7 @@ export interface FileRoutesByTo {
'/organization/mcp-endpoint-finalize': typeof organizationMcpEndpointFinalizePageRouteRoute
'/organization/oauth-consent': typeof organizationOauthConsentPageRouteRoute
'/organizations/none': typeof organizationNoOrgPageRouteRoute
+ '/organizations/onboarding': typeof organizationSignupOnboardingPageRouteRoute
'/admin/signup': typeof adminSignUpPageRouteRoute
'/login/admin': typeof authAdminLoginPageRouteRoute
'/login/ldap': typeof authLoginLdapPageRouteRoute
@@ -6853,6 +6873,7 @@ export interface FileRoutesById {
'/_authenticate/organization/mcp-endpoint-finalize': typeof organizationMcpEndpointFinalizePageRouteRoute
'/_authenticate/organization/oauth-consent': typeof organizationOauthConsentPageRouteRoute
'/_authenticate/organizations/none': typeof organizationNoOrgPageRouteRoute
+ '/_authenticate/organizations/onboarding': typeof organizationSignupOnboardingPageRouteRoute
'/_restrict-login-signup/admin/signup': typeof adminSignUpPageRouteRoute
'/_restrict-login-signup/login/admin': typeof authAdminLoginPageRouteRoute
'/_restrict-login-signup/login/ldap': typeof authLoginLdapPageRouteRoute
@@ -7163,6 +7184,7 @@ export interface FileRouteTypes {
| '/organization/mcp-endpoint-finalize'
| '/organization/oauth-consent'
| '/organizations/none'
+ | '/organizations/onboarding'
| '/admin/signup'
| '/login/admin'
| '/login/ldap'
@@ -7458,6 +7480,7 @@ export interface FileRouteTypes {
| '/organization/mcp-endpoint-finalize'
| '/organization/oauth-consent'
| '/organizations/none'
+ | '/organizations/onboarding'
| '/admin/signup'
| '/login/admin'
| '/login/ldap'
@@ -7734,6 +7757,7 @@ export interface FileRouteTypes {
| '/_authenticate/organization/mcp-endpoint-finalize'
| '/_authenticate/organization/oauth-consent'
| '/_authenticate/organizations/none'
+ | '/_authenticate/organizations/onboarding'
| '/_restrict-login-signup/admin/signup'
| '/_restrict-login-signup/login/admin'
| '/_restrict-login-signup/login/ldap'
@@ -8083,7 +8107,8 @@ export const routeTree = rootRoute
"/_authenticate/mfa-session/$mfaSessionId",
"/_authenticate/organization/mcp-endpoint-finalize",
"/_authenticate/organization/oauth-consent",
- "/_authenticate/organizations/none"
+ "/_authenticate/organizations/none",
+ "/_authenticate/organizations/onboarding"
]
},
"/_restrict-login-signup": {
@@ -8188,6 +8213,10 @@ export const routeTree = rootRoute
"filePath": "organization/NoOrgPage/route.tsx",
"parent": "/_authenticate"
},
+ "/_authenticate/organizations/onboarding": {
+ "filePath": "organization/SignupOnboardingPage/route.tsx",
+ "parent": "/_authenticate"
+ },
"/_restrict-login-signup/admin/signup": {
"filePath": "admin/SignUpPage/route.tsx",
"parent": "/_restrict-login-signup"
diff --git a/frontend/src/routes.ts b/frontend/src/routes.ts
index 023ef47d65..26f588a8ca 100644
--- a/frontend/src/routes.ts
+++ b/frontend/src/routes.ts
@@ -502,6 +502,7 @@ export const routes = rootRoute("root.tsx", [
layout("user/layout.tsx", [index("user/PersonalSettingsPage/route.tsx")])
]),
route("/organizations/none", "organization/NoOrgPage/route.tsx"),
+ route("/organizations/onboarding", "organization/SignupOnboardingPage/route.tsx"),
route("/organization/mcp-endpoint-finalize", "organization/McpEndpointFinalizePage/route.tsx"),
route("/organization/oauth-consent", "organization/OauthConsentPage/route.tsx"),
middleware("inject-org-details.tsx", [