# Switch from social to database (and reverse)

**URL:** <https://community.auth0.com/t/switch-from-social-to-database-and-reverse/92386>\
**Category:** Get Help\
**Tags:** email, social-connections\
**Created:** [October 13, 2022, 11:47pm UTC](https://community.auth0.com/t/switch-from-social-to-database-and-reverse/92386 "2022-10-13T23:47:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ian\_ratner](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ian_ratner/32/40588_2.png) [@ian\_ratner](https://community.auth0.com/u/ian_ratner)\
**Post date:** [October 13, 2022, 11:47pm UTC](https://community.auth0.com/t/switch-from-social-to-database-and-reverse/92386/1 "2022-10-13T23:47:50Z")

</div>

I am trying to verify if it is possible for a user to easily switch from social login to database/email login and if so, how this is done. Also reverse case where user signs up with database login but then wants to switch to social login? Is there a UI element that Auth0 provides for them to do this self-service or do we need to build our own UI and make API calls to do it?

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [October 14, 2022, 12:37am UTC](https://community.auth0.com/t/switch-from-social-to-database-and-reverse/92386/3 "2022-10-14T00:37:28Z")

</div>

Hi @ian_ratner ,

I understand that you want to give users the flexibility to switch between social and database logins. I believe that the user account linking feature can fulfill your request. By enabling the user account linking extension, if the user already has a username/password account, when they click on the social login, they will be prompted with the option to link to their existing database connection, and vise versa.

[This](https://community.auth0.com/t/how-to-use-the-auth0-account-link-extension-to-link-accounts/81196) FAQ explains the details. Hope it helps!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 28, 2022, 12:37am UTC](https://community.auth0.com/t/switch-from-social-to-database-and-reverse/92386/4 "2022-10-28T00:37:46Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
