Auth And Guards

Route protection with beforeLoad, redirect()/throw redirect(), isRedirect helper, authenticated layout routes (_authenticated), non-redirect auth (inline login), RBAC with roles and permissions, auth provider integration (Auth0, Clerk, Supabase), router context for auth state.

TanStack 71a87a2 14.6 KB Updated

File contents

TanStack/router/tree/main/packages/router-core/skills/router-core/auth-and-guards commit 71a87a2a3e

Frequently asked questions

npx skillmds@latest add tanstack/auth-and-guards