© 2026 Hedgehog Software, LLC
emailVerification: { autoSignInAfterVerification: true, callbackURL: `${bindings.BETTER_AUTH_URL}/onboarding`, sendVerificationEmail: async (data: { user: User; url: string }) => { await sendEmail({ apiKey: bindings.RESEND_API_KEY, to: data.user.email, from: bindings.RESEND_SENDER_EMAIL, subject: "Verify your email address", text: `Click the link to verify your email: ${data.url}`, }); }, },
pages.dev/api/auth/verify-email?token=some-long-token&callbackURL=/
callbackURL
1.0.20