# Disable social connection AND not create user? Trying to prevent user duplication of custom database migrated user

**URL:** <https://community.auth0.com/t/disable-social-connection-and-not-create-user-trying-to-prevent-user-duplication-of-custom-database-migrated-user/59946>\
**Category:** Get Help\
**Tags:** rules, social-connections, custom-database, auth0\
**Created:** [March 23, 2021, 5:07pm UTC](https://community.auth0.com/t/disable-social-connection-and-not-create-user-trying-to-prevent-user-duplication-of-custom-database-migrated-user/59946 "2021-03-23T17:07:17Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mclslee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mclslee/32/27980_2.png) [@mclslee](https://community.auth0.com/u/mclslee)\
**Post date:** [March 23, 2021, 5:53pm UTC](https://community.auth0.com/t/disable-social-connection-and-not-create-user-trying-to-prevent-user-duplication-of-custom-database-migrated-user/59946/3 "2021-03-23T17:53:20Z")

</div>

Hi @markd

Thanks for the quick response. I should have mentioned that I already tried a pre-registration hook. Unfortunately, your guess about [hooks only working for DB connections is correct](https://community.auth0.com/t/post-user-registration-hook-not-called-after-google-oauth-sign-up/39138).

---

_[View the full topic](https://community.auth0.com/t/disable-social-connection-and-not-create-user-trying-to-prevent-user-duplication-of-custom-database-migrated-user/59946)._
