← Files WorkOSARCHIVED FILE

references/framework-tanstack-start.md

635 Bytes · Oct 2, 2026 · 00:06 UTC

↓ Download file

# Framework: TanStack Start

## Guidance

- Follow established Start route/file conventions.
- Keep server/client boundaries consistent with existing auth and data flows.
- Add widget integration with minimal structural changes.
- For JS/TS token strategy details (AuthKit token vs backend `getToken` with scopes), follow [token-strategies.md](token-strategies.md).
- Reuse current route and module organization patterns.

## Server Token Pattern (JS/TS)

For the token code pattern, see [token-strategies.md](token-strategies.md) → JS/TS Authorization Tokens. Token generation belongs in a Start server function or server boundary.

SHA-256: e6b4695bc08a3689167c8e22e90da9d16e985fefade4757c91a02989a9543e58