mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 19:16:22 +00:00
16 lines
480 B
TypeScript
16 lines
480 B
TypeScript
import { createFileRoute } from "@tanstack/react-router";
|
|
import { zodValidator } from "@tanstack/zod-adapter";
|
|
import { z } from "zod";
|
|
|
|
import { SignupSsoPage } from "./SignUpSsoPage";
|
|
|
|
const SignupSSOPageQueryParamsSchema = z.object({
|
|
token: z.string(),
|
|
defaultOrgAllowed: z.boolean().optional()
|
|
});
|
|
|
|
export const Route = createFileRoute("/_restrict-login-signup/signup/sso")({
|
|
component: SignupSsoPage,
|
|
validateSearch: zodValidator(SignupSSOPageQueryParamsSchema)
|
|
});
|