ACG Docs
Authentication

Email verification

How buyer email verification works and how to recover from common issues.

When a buyer signs up, Better Auth sends a verification email with a 24-hour link. Clicking the link sets emailVerified=true on the user record and unlocks the dashboard.

What triggers the email

  • Sign up.
  • "Resend verification email" on the /check-email page or in the account menu.
  • An admin can re-trigger from /admin/users.

What if the email doesn't arrive

  1. Check spam / junk.
  2. Confirm the address is correct.
  3. Wait 60 seconds and resend from the /check-email page.
  4. If still nothing, check RESEND_API_KEY and RESEND_FROM_EMAIL in .env.local. The from address must be on a domain you've verified in Resend.

After verification

The user is redirected to the dashboard with a success=1 query parameter that the dashboard uses to show a one-time success banner.

On this page