init test
This commit is contained in:
6
demos/auth.config.ts
Normal file
6
demos/auth.config.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { getAuthConfigProvider } from "@convex-dev/better-auth/auth-config";
|
||||
import type { AuthConfig } from "convex/server";
|
||||
|
||||
export default {
|
||||
providers: [getAuthConfigProvider()],
|
||||
} satisfies AuthConfig;
|
||||
7
demos/convex.config.ts
Normal file
7
demos/convex.config.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { defineApp } from "convex/server";
|
||||
import betterAuth from "@convex-dev/better-auth/convex.config";
|
||||
|
||||
const app = defineApp();
|
||||
app.use(betterAuth);
|
||||
|
||||
export default app;
|
||||
Reference in New Issue
Block a user