Convex Adapter

Authenticate users using Convex Auth with OAuth and password-based authentication.

Installation

npm install @kavach/adapter-convex

Configuration

export default {
  adapter: 'convex',
  providers: [
    { name: 'google', label: 'Continue with Google' },
    { name: 'github', label: 'Continue with GitHub' }
  ],
  env: {
    deploymentUrl: 'PUBLIC_CONVEX_DEPLOYMENT'
  }
}

Environment Variables

VariableDescription
PUBLIC_CONVEX_DEPLOYMENTYour Convex deployment URL

Supported Providers

  • OAuth: Google, GitHub
  • Password: Email/Password

Capabilities

FeatureSupported
Authentication
Data API
RPC
Logging
Magic Link
Passkey

Notes

The Convex adapter integrates with Convex Auth for authentication. Data access is handled natively by Convex functions outside of Kavach's data API layer.

Next Steps

Kavach — Authentication made simple llms.txt