Supabase Adapter
LIVEPostgres-powered auth with row-level security. Email/password, magic link, OAuth providers, and WebAuthn passkeys.
@kavach/adapter-supabase Try Demo
Installation
npm install @kavach/adapter-supabaseConfiguration
export default {
adapter: 'supabase',
providers: [
{ name: 'google', label: 'Continue with Google' },
{ name: 'github', label: 'Continue with GitHub' }
],
env: {
url: 'PUBLIC_SUPABASE_URL',
anonKey: 'PUBLIC_SUPABASE_ANON_KEY'
}
}Environment Variables
| Variable | Description |
|---|---|
PUBLIC_SUPABASE_URL | Your Supabase project URL |
PUBLIC_SUPABASE_ANON_KEY | Your Supabase anon (public) key |
Supported Providers
Google
GitHub
Facebook
Apple
Twitter
Email + Password
Magic Link
Passkey
Capabilities
Authentication
Data API (PostgREST)
RPC functions
Row-level security
Magic link / OTP
WebAuthn passkeys
Structured logging