betterauth-tanstack-convex

Guide Better Auth integration with Convex and TanStack Start.

2|4|Updated Jun 23, 2025
One-click install
npx skills add https://github.com/xrehpicx/vector --skill betterauth-tanstack-convex-xrehpicx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: betterauth-tanstack-convex
Source: https://github.com/xrehpicx/vector/tree/main/.agents/skills/betterauth-tanstack-convex
Command: npx skills add https://github.com/xrehpicx/vector --skill betterauth-tanstack-convex-xrehpicx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @convex-dev/better-auth, convex, better-auth, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the setup process for Better Auth authentication with Convex and TanStack Start, providing a clear guide for configuring authentication in a Convex + TanStack Start project.

Core Features & Use Cases

  • Authentication Setup: Step-by-step guide for setting up Better Auth with Convex and TanStack Start.
  • Troubleshooting: Guidance for resolving common authentication issues.
  • Sign Up/In/Out: Implementing sign up, sign in, and sign out flows.
  • SSR Authentication: Configuring SSR authentication with expectAuth: true.
  • Use Case: Ideal for a team looking to integrate authentication into a Convex + TanStack Start project without relying on external services.

Quick Start

Install the required packages and follow the setup guide to integrate Better Auth with your Convex + TanStack Start project.

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?

Better Auth setup with Convex and TanStack Start involves installing required packages and following a configuration guide to implement sign up, sign in, and sign out flows for your web application.

How does SSR authentication work with TanStack Start and Convex?

SSR authentication with TanStack Start and Convex works by configuring server-side rendering flows using the `expectAuth: true` setting to ensure secure user authentication processes during page loads.

Can I implement authentication in a Convex project without external services?

Yes, you can implement authentication in a Convex project without relying on external services by integrating Better Auth directly with TanStack Start to manage your own secure user authentication processes.

What is the best way to troubleshoot common authentication issues in Better Auth?

The best way to troubleshoot common authentication issues in Better Auth is to follow dedicated guidance for resolving setup errors and SSR flow problems specific to Convex and TanStack Start configurations.

Do I need specific packages to configure Better Auth with Convex?

Yes, configuring Better Auth with Convex requires installing the `@convex-dev/better-auth`, `convex`, and `better-auth` packages to properly integrate authentication into your TanStack Start application.