Auth0 Adapter
Authenticate users using Auth0 with OAuth and password-based authentication.
Installation
npm install @kavach/adapter-auth0
Configuration
export default {
adapter: 'auth0',
providers: [
{ name: 'auth0', label: 'Continue with Auth0' }
],
env: {
domain: 'PUBLIC_AUTH0_DOMAIN',
clientId: 'PUBLIC_AUTH0_CLIENT_ID'
}
}
Environment Variables
| Variable | Description |
|---|
PUBLIC_AUTH0_DOMAIN | Your Auth0 tenant domain (e.g., myapp.auth0.com) |
PUBLIC_AUTH0_CLIENT_ID | Your Auth0 client ID |
Supported Providers
- OAuth: Google, GitHub, Facebook, Apple, Twitter, LinkedIn
- Password: Email/Password, Passwordless (Email/SMS)
Capabilities
| Feature | Supported |
|---|
| Authentication | ✓ |
| Data API | — |
| RPC | — |
| Logging | — |
| Magic Link | ✓ |
| Passkey | — |