# Custom Login / Signup + Buttons with options to login/signup with google / facebook / etcs?

**URL:** <https://community.auth0.com/t/custom-login-signup-buttons-with-options-to-login-signup-with-google-facebook-etcs/53154>\
**Category:** Get Help\
**Tags:** login, auth0\
**Created:** [November 12, 2020, 6:44pm UTC](https://community.auth0.com/t/custom-login-signup-buttons-with-options-to-login-signup-with-google-facebook-etcs/53154 "2020-11-12T18:44:28Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [November 17, 2020, 8:29pm UTC](https://community.auth0.com/t/custom-login-signup-buttons-with-options-to-login-signup-with-google-facebook-etcs/53154/6 "2020-11-17T20:29:59Z")

</div>

> [@kokonuts](#):
>
> That sounds interesting, what if i already have a database with users and hashed passwords ( i.e. we got an application using meteor ) ?

You have a couple of options here:

- You can import your users (including password hashes).
  - This option requires some initial migrating development time, but after it is completed there is very little you will have to manage, and you can always export later if needed.

**OR**

- You can point auth0 to your existing database.
  - This requires a paid subscription, and you will have to maintain your database infrastructure and integration, but you wont need to migrate your users and hashes.

> [@kokonuts](#):
>
> How do i setup auth0 to check the passwords using the same encryption on the email ( i believe meteor is sha256 )

This will depend on whether you import your users (yes, we support SHA256) or integrate with a custom database. Here are resources for the two different options.

> **[Technical Strategies for Migrating Users to Auth0](https://auth0.com/blog/technical-strategies-for-migrating-users-to-auth0/)**
>
> Learn strategies for migrating your users from other identity solutions to Auth0

[https://auth0.com/docs/users/references/bulk-import-database-schema-examples#custom-password-hash](https://auth0.com/docs/users/references/bulk-import-database-schema-examples#custom-password-hash)

**OR**

> **[Custom Database Connections](https://auth0.com/docs/authenticate/database-connections/custom-db)**
>
> Learn about authenticating users using your database as an identity provider.

> [@kokonuts](#):
>
> what if a user tries to login with Google or Facebook but they’re already registered?

You can set up account linking. So a verified email from either social provider will be linked.

> **[User Account Linking](https://auth0.com/docs/manage-users/user-accounts/user-account-linking)**
>
> Understand how user accounts can be linked in Auth0 from various identity providers.

> [@kokonuts](#):
>
> Also, if the user decides to sign up using email / password ( as opposed to social logins ) can i only allow the login to happen after confirming the email?

You can force email verification in a rule. Essentially they can login, then you can deny access to your app until they are verified. This is a common flow.

---

_[View the full topic](https://community.auth0.com/t/custom-login-signup-buttons-with-options-to-login-signup-with-google-facebook-etcs/53154)._
