Skip to content

Add sign-in to Convex app

Wire passkey or OAuth sign-in into a Convex app, including auth.config.ts and key setup.

Stars
9,546
Licence
MIT
Files
1 file

What it does

When you ask an agent to add login to a Convex web app, this skill gives it a step-by-step recipe: install the @convex-dev/auth library, add a sign-in provider (passkeys by default, or password/Google OAuth if you ask), generate the signing keys without the interactive setup wizard, write the auth config file, wire up the client UI, and test that sign-in actually works. It exists mainly to avoid common mistakes that leave users silently signed out.

Great for

  • Developers building a Convex app who need user accounts
  • Teams automating project setup in non-interactive or CI environments

Skip it if

  • Projects not using Convex, since the steps assume Convex and its deployment tooling (wrong stack, instructions will not apply)
  • Production security reviews: the skill generates keys and sets environment variables on a deployment, so the result still needs human review of auth configuration and secret handling

Try asking

  • “Add passkey sign-in to my Convex app”
  • “Set up Google OAuth login for this Convex project”
  • “Fix why my Convex app always shows me as signed out”
Step-by-step guide: how to use Add sign-in to Convex appInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the MIT licence and an attribution note.

    convex-auth.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip convex-auth.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip convex-auth.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Give the agent the name of your Convex deployment and whether you want passkeys or OAuth before it starts.
  • Review the generated convex/auth.config.ts and the environment variables it sets before deploying.
  • Ask the agent to run a real sign-in test at the end, as the skill requires, and confirm it works in a browser.

What's inside

  • SKILL.md

Redistributed unmodified from openclaw/clawhub under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.