convex-setup-auth

Installation
Summary

Set up Convex authentication with the right provider, user management, and access control patterns.

  • Supports multiple auth providers: Convex Auth, Clerk, WorkOS AuthKit, Auth0, and custom JWT, with provider detection from repo signals
  • Guides you through choosing a provider, configuring client and backend wiring, environment variables, and convex/auth.config.ts setup
  • Covers authentication checks in protected functions, optional app-level user storage, and authorization patterns for ownership and roles
  • Includes reference files for each provider with concrete workflows, expected files, gotchas, and validation steps
SKILL.md

Convex Authentication Setup

Implement secure authentication in Convex with user management and access control.

When to Use

  • Setting up authentication for the first time
  • Implementing user management (users table, identity mapping)
  • Creating authentication helper functions
  • Setting up auth providers (Convex Auth, Clerk, WorkOS AuthKit, Auth0, custom JWT)

When Not to Use

  • Auth for a non-Convex backend
  • Pure OAuth/OIDC documentation without a Convex implementation
  • Debugging unrelated bugs that happen to surface near auth code
  • The auth provider is already fully configured and the user only needs a
Related skills
Installs
44.2K
GitHub Stars
27
First Seen
Mar 16, 2026