What problem does it solve? Building secure server-side authentication in TanStack Start requires correctly handling session cookies, OAuth state and PKCE, CSRF protection, rate limiting, and session rotation — mistakes in any of these create exploitable vulnerabilities like session fixation, user enumeration, or unprotected RPC endpoints. ## Core Features & Use Cases - Session Management: Issue, read, and destroy sessions via HttpOnly, Secure, SameSite cookies with the __Host- prefix, plus middleware that loads a typed session into every protected server function. - OAuth & Hardening: Implements the authorization-code flow with state and PKCE, password-reset enumeration defense, CSRF origin checks for non-GET RPCs, and per-IP rate limiting on auth endpoints. - Use Case: When adding login to a TanStack Start app, use this Skill to wire a login server function that verifies passwords against a dummy hash to prevent timing leaks, rotates sessions on privilege change, and enforces auth inside every handler rather than relying on route guards. ## Quick Start Ask the AI to implement a secure login server function in TanStack Start with session cookies, rate limiting, and session rotation on privilege change.