diff --git a/pages/auth/sso/[provider].tsx b/pages/auth/sso/[provider].tsx index f97f1d42c4..d3250b2f06 100644 --- a/pages/auth/sso/[provider].tsx +++ b/pages/auth/sso/[provider].tsx @@ -8,8 +8,6 @@ import prisma from "@lib/prisma"; import { isSAMLLoginEnabled, hostedCal, samlTenantID, samlProductID, samlTenantProduct } from "@lib/saml"; import { inferSSRProps } from "@lib/types/inferSSRProps"; -import { ssrInit } from "@server/lib/ssr"; - export type SSOProviderPageProps = inferSSRProps; export default function Type(props: SSOProviderPageProps) { @@ -50,7 +48,6 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) => const { req } = context; const session = await getSession({ req }); - const ssr = await ssrInit(context); if (session) { return { @@ -91,7 +88,6 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) => return { props: { - trpcState: ssr.dehydrate(), provider: providerParam, isSAMLLoginEnabled, hostedCal,