# How to hash of password to Auth0 database

**URL:** <https://community.auth0.com/t/how-to-hash-of-password-to-auth0-database/79915>\
**Category:** Get Help\
**Tags:** migration, user-migration\
**Created:** [March 15, 2022, 2:58pm UTC](https://community.auth0.com/t/how-to-hash-of-password-to-auth0-database/79915 "2022-03-15T14:58:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dudumonteiro](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dudumonteiro/32/35891_2.png) [@dudumonteiro](https://community.auth0.com/u/dudumonteiro)\
**Post date:** [March 15, 2022, 2:58pm UTC](https://community.auth0.com/t/how-to-hash-of-password-to-auth0-database/79915/1 "2022-03-15T14:58:08Z")

</div>

On Automatic Migration proccess, when user logs in, and it’s credentials are validated on external db, the next step is Store User and Hash of password in Auth0 database.  
([https://auth0.com/blog/technical-strategies-for-migrating-users-to-auth0/](https://auth0.com/blog/technical-strategies-for-migrating-users-to-auth0/))

My question is, how Auth0 expects my hash? Which algorith? Salted? etc

---

<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:** [March 15, 2022, 11:56pm UTC](https://community.auth0.com/t/how-to-hash-of-password-to-auth0-database/79915/3 "2022-03-15T23:56:37Z")

</div>

Hi @dudumonteiro,

Welcome to the Auth0 Community!

> [@dudumonteiro](#):
>
> My question is, how Auth0 expects my hash? Which algorith? Salted? etc

If you have migration toggled on, Auth0 will automatically hash and store the password if the login script is completed successfully. There is no need for you to manually store the password in Auth0.

---

<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:** [April 22, 2022, 12:01am UTC](https://community.auth0.com/t/how-to-hash-of-password-to-auth0-database/79915/4 "2022-04-22T00:01:50Z")

</div>


