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 Updated 28.6k repo stars
TanStack Router

File contents

TanStack/router commit 8f20dcaa27

Frequently asked questions

npx get-skill add tanstack/auth-server-primitives