refactor: use betterauth instead of workos

This commit is contained in:
2025-10-05 20:21:45 +00:00
parent b654f50ddd
commit 483aa19351
23 changed files with 4141 additions and 273 deletions

7
packages/convex/http.ts Normal file
View File

@@ -0,0 +1,7 @@
import { httpRouter } from "convex/server"
import { authComponent, createAuth } from "./auth"
const http = httpRouter()
// CORS handling is required for client side frameworks
authComponent.registerRoutes(http, createAuth, { cors: true })
export default http