What problem does it solve?
This Skill solves the problem of setting up secure authentication in a Convex app, including identity lookup and backend access control, so protected functions can reliably determine who the user is.
Core Features & Use Cases
- Provider-first setup: Choose and configure the correct Convex authentication provider (Convex Auth, Clerk, WorkOS AuthKit, Auth0, or custom JWT) based on the app’s existing dependencies and environment.
- Identity mapping & protected backend checks: Implement the correct server-side pattern using
ctx.auth.getUserIdentity() instead of trusting client-provided user identifiers.
- Role- and ownership-ready authorization: Add authorization checks for ownership, roles, or team access only where the application actually needs them.
Use cases: Adding login to a new Convex project, wiring an existing frontend that already uses Clerk/Auth0/WorkOS into Convex backend authentication, and creating a production-ready auth configuration with correct environment variables.
Quick Start
Use the convex-setup-auth skill to set up Convex authentication for your selected provider in your project, following the provider-specific reference and the Convex backend authorization pattern.