convex-setup-auth

Configure authentication providers and access control in Convex applications.

1|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/safzanpirani/pi-config --skill convex-setup-auth-safzanpirani
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-setup-auth
Source: https://github.com/safzanpirani/pi-config/tree/main/skills/convex-setup-auth
Command: npx skills add https://github.com/safzanpirani/pi-config --skill convex-setup-auth-safzanpirani

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill unit helps you implement secure authentication, identity mapping, and access control in a Convex application, simplifying the setup process for login, auth providers, users tables, protected functions, or roles.

Core Features & Use Cases

  • Authentication Setup: Guide users through choosing and setting up an authentication provider for their Convex app.
  • User Management: Implement user management and access control for Convex applications.
  • Auth Providers Support: Support for multiple authentication approaches including Convex Auth, Clerk, WorkOS AuthKit, Auth0, and custom JWT providers.
  • Secure Implementation: Provide guidance on implementing secure authentication practices and best practices for each provider.

Quick Start

To set up authentication for your Convex app, use the convex-setup-auth skill and follow the steps outlined in the SKILL.md file.

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 authentication in a Convex application?

To set up authentication in a Convex application, you choose and configure an auth provider, implement user management, and establish access control. This involves selecting supported providers like Convex Auth or Clerk and applying secure practices.

What authentication providers can I use with Convex?

Supported authentication providers for Convex include Convex Auth, Clerk, WorkOS AuthKit, Auth0, and custom JWT providers. Each option allows you to configure secure login, identity mapping, and user management.

How do I implement access control and protected functions in Convex?

Implementing access control in Convex involves configuring protected functions and user roles. You establish this by mapping user identities and applying secure practices to restrict function execution based on authentication state.

What is identity mapping and how does it work with Convex auth?

Identity mapping in Convex auth connects authenticated users from your provider to records in your Convex users tables. It simplifies user management by ensuring secure identity tracking across different auth providers.

Does Convex auth work with custom JWT providers?

Yes, Convex authentication works with custom JWT providers alongside managed solutions like Clerk and Auth0. This allows you to integrate existing custom authentication systems while maintaining secure access control practices.