Skip to content
Discussion options

You must be logged in to vote

You just need to create two separate routes: one for oRPC and one for better auth. Don’t mix them into a single route.

  • /app/api/auth/[...all]/route.ts → for better auth
  • /app/api/rpc/[...all]/route.ts → for oRPC

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@hmartins370
Comment options

@unnoq
Comment options

Answer selected by unnoq
@maelp
Comment options

@unnoq
Comment options

unnoq Aug 7, 2025
Maintainer

@Mdev303
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants