convex-auth

Set up Better Auth email and password authentication for Convex Expo and Next.js apps.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/atemaguer/bfloat-ide --skill convex-auth-atemaguer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-auth
Source: https://github.com/atemaguer/bfloat-ide/tree/main/resources/skills/convex/auth
Command: npx skills add https://github.com/atemaguer/bfloat-ide --skill convex-auth-atemaguer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the friction of wiring secure email and password authentication into Convex-backed applications, so you can add sign-in, sign-up, session handling, and protected user flows without stitching together the integration by hand.

Core Features & Use Cases

  • Expo and Next.js support: Adapts the auth setup to either React Native or web projects based on the detected framework.
  • Full auth plumbing: Creates Convex config, auth config, client and server helpers, HTTP routing, and provider wiring.
  • User-facing auth screens: Builds sign-in and sign-up experiences and connects them to session-aware navigation and protected queries.
  • Use case: A local-first app needs Better Auth on top of Convex with safe environment validation, route protection, and no manual guesswork.

Quick Start

Ask the Skill to add Better Auth authentication to your Convex Expo or Next.js app and it will configure the required files, routes, providers, and sign-in flows.

Frequently Asked Questions about convex-auth

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

FAQPage Schema
How do I add Better Auth authentication to a Convex application?

Adding Better Auth to a Convex application involves configuring email and password sign-in and sign-up flows. The process sets up auth clients, server helpers, HTTP routing, and provider wiring to manage authenticated user sessions safely.

Does Better Auth work with Expo and Next.js for Convex route protection?

Better Auth works with both Expo and Next.js projects using Convex. The setup adapts to the detected framework to build sign-in and sign-up screens, connect session-aware navigation, and enforce route protection through guarded queries.

What do I need to configure before setting up Convex auth?

Before setting up Convex auth, you need Convex configuration, deployment secrets, and environment validation. These prerequisites ensure your Expo or Next.js project can securely manage authenticated user sessions and route protection.

Can I build sign-in and sign-up screens directly with this Convex auth setup?

You can build user-facing sign-in and sign-up screens directly with this setup. It connects these experiences to session-aware navigation and protected queries within your Expo or Next.js application.

What's the best way to handle session-aware navigation in a Convex app?

The best way to handle session-aware navigation in a Convex app is by using server helpers and guarded queries. This approach connects your authentication provider wiring directly to protected user flows and routes.