We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30ae230 commit 316204eCopy full SHA for 316204e
src/app/api/auth/[...all]/route.ts
@@ -0,0 +1,4 @@
1
+import { auth } from "@/lib/auth";
2
+import { toNextJsHandler } from "better-auth/next-js";
3
+
4
+export const { GET, POST } = toNextJsHandler(auth.handler);
0 commit comments