Add better-auth integration and update dependencies in package.json and bun.lock
This commit is contained in:
5
packages/backend/convex/betterAuth/auth.ts
Normal file
5
packages/backend/convex/betterAuth/auth.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { createAuth } from "../auth";
|
||||
import { getStaticAuth } from "@convex-dev/better-auth";
|
||||
|
||||
// Export a static instance for Better Auth schema generation
|
||||
export const auth = getStaticAuth(createAuth);
|
||||
Reference in New Issue
Block a user