What problem does it solve? Adding authentication to TanStack React Start apps requires coordinating server functions, route guards, loaders, and the Vinxi server runtime, and mistakes like wrong import paths or missing middleware cause silent auth failures. ## Core Features & Use Cases - Route Protection: Guard routes with beforeLoad checks that call auth() inside createServerFn and throw redirects for unauthenticated users. - Server-Side Auth: Use auth() from @clerk/tanstack-react-start/server in server functions, loaders, and API routes to access userId and orgId. - Vinxi Setup: Register clerkMiddleware in start.ts and wrap the root route with ClerkProvider so auth state flows through every request. - Use Case: You need to protect all /app/* routes with a single layout guard, pass userId through route context to loaders, and fetch org-scoped data only when an organization is active. ## Quick Start Ask the AI to protect the /dashboard route in your TanStack Start app so unauthenticated users are redirected to /sign-in.