# Validation before registration of social account in Auth0

**URL:** <https://community.auth0.com/t/validation-before-registration-of-social-account-in-auth0/84729>\
**Category:** Get Help\
**Created:** [June 7, 2022, 12:57pm UTC](https://community.auth0.com/t/validation-before-registration-of-social-account-in-auth0/84729 "2022-06-07T12:57:37Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![mj.phong](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mj.phong/32/37722_2.png) [@mj.phong](https://community.auth0.com/u/mj.phong)\
**Post date:** [June 8, 2022, 11:39am UTC](https://community.auth0.com/t/validation-before-registration-of-social-account-in-auth0/84729/7 "2022-06-08T11:39:31Z")

</div>

Hi @dev40 .

I tried to use the Hook of Pre User Registration & Rule of Whitelist of Specific Connection to approach the requirement, but it does not work. The new account is still created in database, the best thing I can do is breaking the authentication flow with the Rule.

Until now, your ideal with API to delete the duplicate email + using the Rule of Whitelist is the best choice.

---

_[View the full topic](https://community.auth0.com/t/validation-before-registration-of-social-account-in-auth0/84729)._
