docs/content/docs/reference/errors/email_not_found.mdx
This error occurs during the OAuth flow when the provider does not return an email address for the user. Better Auth uses the email from the provider to identify or create a user account. If the provider omits the email (or returns it as empty/undefined), we cannot proceed and the request is rejected.
This error is only possible through OAuth providers. It will not occur in non-OAuth flows.
email).user:email).email where required.id_token claims, userinfo response) to see if an email claim exists.email is present.