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 OAuth providers (WorkOS, Auth0, etc.) Architecture Overview Convex authentication has two main parts: 1. Client Authentication : Use a provider (WorkOS, Auth0, custom JWT) 2. Backend Identity : Map auth provider identity to your users table Schema Setup Core Helper Functions Get Current User Require Admin Use…