Auth Server Primitives

Server-side authentication primitives for TanStack Start: session cookies (HttpOnly, Secure, SameSite, __Host- prefix), session read/issue/destroy via createServerFn and middleware, OAuth authorization-code flow with state and PKCE, password-reset enumeration defense, CSRF for non-GET RPCs, rate limiting auth endpoints, session rotation on privilege change. Pairs with router-core/auth-and-guards for the routing side.

TanStack 8f20dca 16.3 KB Updated

File contents

TanStack/router/tree/main/packages/start-client-core/skills/start-core/auth-server-primitives commit 8f20dcaa27

Frequently asked questions

npx skillmds@latest add tanstack/auth-server-primitives