
Auth Setup
This walks you through the full authentication setup for Convex, covering everything from schema design with tokenIdentifier mapping to helper functions like getCurrentUser and requireAdmin. You'll want this when wiring up OAuth providers like WorkOS or Auth0 and need to map external identities to your users table. The guide includes solid access control patterns for owner-only, resource-based, and team-based permissions, plus the distinction between public and private queries. The code samples are practical, showing real patterns like hybrid queries that work for both authenticated and anonymous users. It's comprehensive enough that you can copy the structure and adapt it without hunting through docs for the right way to check membership or enforce roles.
- skills.sh installs
- 214
- GitHub stars
- 107
- last updated
- Aug 21, 2026
Install
$ npx -y skills add get-convex/convex-agent-plugins --skill auth-setup --agent claude-codeInstalls into .claude/skills of the current project.
Files
This walks you through the full authentication setup for Convex, covering everything from schema design with tokenIdentifier mapping to helper functions like getCurrentUser and requireAdmin. You'll want this when wiring up OAuth providers like WorkOS or Auth0 and need to map external identities to your users table. The guide includes solid access control patterns for owner-only, resource-based, and team-based permissions, plus the distinction between public and private queries. The code samples are practical, showing real patterns like hybrid queries that work for both authenticated and anonymous users. It's comprehensive enough that you can copy the structure and adapt it without hunting through docs for the right way to check membership or enforce roles.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/get-convex/convex-agent-plugins
- Categories
- Backend & APIs, Security, AI & Agent Building, Databases
- First seen
- Jun 3, 2026