Files
SanatiLeads/convex/auth.ts

8 lines
286 B
TypeScript

import { convexAuth } from "@convex-dev/auth/server";
import { Password } from "@convex-dev/auth/providers/Password";
import Google from "@auth/core/providers/google";
export const { auth, signIn, signOut, store, isAuthenticated } = convexAuth({
providers: [Password, Google],
});