

A first-class AuthKit SDK for TanStack Start is now available. Add secure, server-first auth to Start apps with minimal setup. The SDK includes request middleware, server utilities for loaders and actions, optional client hooks, and helpers for protected routes and redirects. Highlights include:
- Middleware that validates and refreshes sessions on every request
- Server helpers:
getAuth(),getSignInUrl(),getSignUpUrl(),signOut(),switchToOrganization() - Client hooks (optional):
useAuth(),useAccessToken(),useTokenClaims() - Fully typed with seamless inference in loaders and components
Get started today by checking out the SDK and the example app.