TanStack Start and Clerk
Clerk makes it simple to add authentication to your TanStack Start application. This documentation covers the capabilities and methods available for Clerk's TanStack SDK.
Guides
Client-side helpers
Because Clerk TanStack Start is a wrapper around Clerk React, you can utilize the hooks that Clerk React provides. These hooks give you access to the Clerk
object, and a set of useful helper methods for signing in and signing up. You can learn more about these hooks in the React SDK reference.
useUser()
useClerk()
useAuth()
useSignIn()
useSignUp()
useSession()
useSessionList()
useOrganization()
useOrganizationList()
Server-side helpers
The below methods and references show how to integrate Clerk features into applications that take advantage of TanStack Start server functions and API routes.
Auth
object
The getAuth()
returns an Auth
object. This JavaScript object contains important information like session data, your user's ID, as well as their organization ID. Learn more about the Auth
object here.
Feedback
Last updated on