Convex Adapter
Authenticate users using Convex Auth with OAuth and password-based authentication.
Installation
npm install @kavach/adapter-convexConfiguration
export default {
adapter: 'convex',
providers: [
{ name: 'google', label: 'Continue with Google' },
{ name: 'github', label: 'Continue with GitHub' }
],
env: {
deploymentUrl: 'PUBLIC_CONVEX_DEPLOYMENT'
}
}Environment Variables
| Variable | Description |
|---|---|
PUBLIC_CONVEX_DEPLOYMENT | Your Convex deployment URL |
Supported Providers
- OAuth: Google, GitHub
- Password: Email/Password
Capabilities
| Feature | Supported |
|---|---|
| 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.