Resend Adapter
Send auth emails (verification, password reset) via Resend.
Install
bash
pnpm add @authcore/resend-adapterSetup
ts
import { resendAdapter } from '@authcore/resend-adapter'
const config = {
// ...
features: ['emailVerification', 'passwordReset', 'invitation'],
email: {
provider: resendAdapter(process.env.RESEND_API_KEY!),
from: 'noreply@myapp.com',
},
}AuthCore sends both HTML and plain-text variants of every email; Resend supports both directly.
Requirements
- A Resend account and API key
- A verified sending domain in Resend