convex-setup-auth

Automate Convex authentication setup with user management and access control.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/ScriptKitKat/TamaGoosie --skill convex-setup-auth-scriptkitkat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-setup-auth
Source: https://github.com/ScriptKitKat/TamaGoosie/tree/main/convex/.agents/skills/convex-setup-auth
Command: npx skills add https://github.com/ScriptKitKat/TamaGoosie --skill convex-setup-auth-scriptkitkat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Convex apps often require authentication, identity mapping, and robust access control. This skill streamlines setting up an integrated auth layer across providers, wiring, and user-state management so applications can gate data safely.

Core Features & Use Cases

  • Provider-agnostic authentication setup across Convex Auth, Clerk, WorkOS AuthKit, Auth0, or custom JWT providers
  • Wire up convex/auth.config.ts and protect backend queries/mutations using ctx.auth.getUserIdentity()
  • Create and map a users-like identity store to support identity mapping and role-based access control
  • Use case: add login/signup flows and enforce login across an app without manual boilerplate

Quick Start

Configure the initial Convex auth setup by selecting a provider and wiring the authentication scaffold (auth.config.ts, identity mapping, and a basic protected flow).

Frequently Asked Questions about convex-setup-auth

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

FAQPage Schema
How do I set up Convex authentication and access control for my app?

Set up Convex authentication by wiring convex/auth.config.ts, mapping a users-like identity store, and protecting backend queries and mutations using ctx.auth.getUserIdentity().

What's the best way to add login flows and identity mapping in Convex?

Add login flows in Convex by selecting an authentication provider, configuring environment variables, and mapping user identities to a basic protected flow to gate data safely.

Does Convex auth work with Clerk, WorkOS AuthKit, and Auth0?

Convex auth works with Clerk, WorkOS AuthKit, Auth0, Convex Auth, and custom JWT providers, wiring provider-agnostic authentication scaffolds for your application.

How do I protect Convex queries and mutations using ctx.auth.getUserIdentity()?

Protect Convex queries and mutations by calling ctx.auth.getUserIdentity() in your backend functions, ensuring only authenticated users access protected data.

Do I need to choose an auth provider before wiring convex/auth.config.ts?

You must choose an authentication provider before wiring convex/auth.config.ts, as the setup requires provider-specific environment variables and identity mapping configuration.

Can I implement role-based access control in Convex using a custom identity store?

Implement role-based access control in Convex by creating and mapping a users-like identity store to support identity mapping and enforce protected queries and mutations.