Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/features/auth/auth.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ function createAuth() {
},
database: {
joins: true, // Enable database joins for better performance
// `getAuth` migrates the schema itself. Better Auth's own check is
// one promise per isolate, started in the background of the request
// that builds the instance; on Workers a request that ends first
// (an unauthenticated MCP call, say) leaves it unable to settle, and
// every later request in that isolate fails with a 500.
validateSchema: false,
},
},
plugins: [
Expand Down
Loading