convex-setup-auth
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.tssetup - 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
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
More from get-convex/agent-skills
convex-quickstart
Creates or adds Convex to an app. Use for new Convex projects, npm create
44.9Kconvex-performance-audit
Audits Convex performance for reads, subscriptions, write contention, and
44.4Kconvex-migration-helper
Plans Convex schema and data migrations with widen-migrate-narrow and
44.2Kconvex-create-component
Builds reusable Convex components with isolated tables and app-facing APIs.
44.2Kconvex
Routes general Convex requests to the right project skill. Use when the user
20.7Kconvex-helpers-guide
Discover and use convex-helpers utilities for relationships, filtering, sessions, custom functions, and more. Use when you need pre-built Convex patterns.
572
More in Databases
supabase-postgres-best-practices
Postgres patterns for Supabase: schema design, RLS, indexing, and query performance
supabase/agent-skillssupabase
Supabase client: auth, storage, realtime, edge functions, and migrations
supabase/agent-skillsfirebase-basics
Firebase setup, Firestore queries, security rules, and project configuration
firebase/agent-skillsfirebase-auth-basics
Firebase Authentication flows, providers, custom claims, and session management
firebase/agent-skillsfirebase-firestore-enterprise-native-mode
Firestore at scale: sharding, composite indexes, and enterprise data modeling
firebase/agent-skills