---
title: "AuthKit SDK for TanStack Start"
description: "Add secure, server-first auth to Start apps with minimal setup using the AuthKit SDK for TanStack Start."
url: https://workos.com/changelog/authkit-sdk-for-tanstack-start
---

# AuthKit SDK for TanStack Start

A first-class [AuthKit SDK](https://github.com/workos/authkit-tanstack-start) for [TanStack Start](https://tanstack.com/start/latest) 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](https://github.com/workos/authkit-tanstack-start) and the [example app](https://github.com/workos/authkit-tanstack-start/tree/main/example).
