MordsithM
Convex Community2y ago
8 replies
Mordsith

Convex Auth Typescript Error with Vercel

A new convex deployment, first time deploy to Vercel throws this error

import type { MutationCtx } from "./_generated/server.d";
import { convexAuth } from "@convex-dev/auth/server";
import { ResendOTPProvider } from "./lib/auth/ResendOTPProvider";
import { getUserByEmail } from "./lib/utils/user";
import { createDefaultWorkspace } from "./lib/utils/workspace";

export const { auth, signIn, signOut, store } = convexAuth({
  providers: [ResendOTPProvider],
  callbacks: {
Screenshot_2024-09-20_at_06.34.06.png
Was this page helpful?