betterauth-tanstack-convex

Configure Better Auth for Convex and TanStack Start projects.

25|4|Updated Oct 18, 2025
One-click install
npx skills add https://github.com/Sstobo/convex-skills --skill betterauth-tanstack-convex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: betterauth-tanstack-convex
Source: https://github.com/Sstobo/convex-skills/tree/main/betterauth-tanstack-convex
Command: npx skills add https://github.com/Sstobo/convex-skills --skill betterauth-tanstack-convex

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill guides developers through configuring Better Auth authentication for Convex and TanStack Start projects, enabling secure sign-in/out flows and SSR-ready authentication.

Core Features & Use Cases

  • End-to-end setup of Better Auth with Convex, TanStack Start, and SSR-friendly authentication.
  • Troubleshooting guidance for common auth issues such as token handling and provider configuration.
  • Practical patterns for integrating auth across server and client code.

Quick Start

Follow the setup steps to install packages, configure the Better Auth component, and enable SSR authentication.

Frequently Asked Questions about betterauth-tanstack-convex

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Better Auth with Convex and TanStack Start?

Setting up Better Auth involves installing packages, wiring the auth component into Convex, configuring environment variables, and registering server and client utilities to enable secure authentication flows.

Does Better Auth support SSR with TanStack Start routing?

Yes, Better Auth supports SSR with TanStack Start routing. You can enable SSR-ready authentication by applying practical patterns for integrating auth state across both server and client code routes.

What's the best way to troubleshoot token handling issues in Better Auth?

Troubleshoot Better Auth token handling by verifying component registration, validating environment variables, and ensuring server and client utilities are correctly wired for Convex and TanStack Start.

Can I use Better Auth to create sign up and sign out flows for Convex?

Yes, you can use Better Auth to create sign up, sign in, and sign out flows for Convex projects. The setup guides you through integrating the necessary components and route handling for secure sessions.

Why does my TanStack Start auth configuration fail to recognize the Convex component?

Your TanStack Start auth configuration fails when the Better Auth component is not properly registered with Convex, or when required environment variables and server utilities are missing from the setup.