Auth API
Route: /api/auth/[...all]
File:
apps/ui/src/app/api/auth/[...all]/route.ts
This route exposes Better Auth's Next.js handler. It supports the Better Auth GET and POST endpoints used by the UI session, sign-in, sign-out, registration, and related auth flows.
Related docs: