# I need to add fields to the login

**URL:** <https://community.auth0.com/t/i-need-to-add-fields-to-the-login/68856>\
**Category:** Get Help\
**Created:** [August 31, 2021, 1:03pm UTC](https://community.auth0.com/t/i-need-to-add-fields-to-the-login/68856 "2021-08-31T13:03:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fidel.torres](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/fidel.torres/32/13740_2.png) [@fidel.torres](https://community.auth0.com/u/fidel.torres)\
**Post date:** [August 31, 2021, 1:03pm UTC](https://community.auth0.com/t/i-need-to-add-fields-to-the-login/68856/1 "2021-08-31T13:03:55Z")

</div>

For the application, it is necessary to collect two custom fields in the login, how can I do it? When the user registers, it is necessary to fill in these two new fields, the information must remain in the user database and be able to take it to take it to the app.

---

<div class="post-metadata">

**Author:** ![sgo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sgo/32/13789_2.png) [@sgo](https://community.auth0.com/u/sgo)\
**Post date:** [August 31, 2021, 3:06pm UTC](https://community.auth0.com/t/i-need-to-add-fields-to-the-login/68856/2 "2021-08-31T15:06:32Z")

</div>

Hi @fidel.torres ,

It sounds like you would benefit from using Lock’s additionalSignUpFields:

- [Lock Configuration Options](https://auth0.com/docs/libraries/lock/lock-configuration#additionalsignupfields-array-)

These allow you to add additional custom fields to collect user information on sign up, and they will be stored in the new account’s `user_metadata`.

Please note however that this is currently limited to when using the Classic Universal Login experience, either via Lock or a custom sign up form using Auth0.js:

- [https://auth0.com/docs/login/universal-login/new-universal-login-vs-classic-universal-login](https://auth0.com/docs/login/universal-login/new-universal-login-vs-classic-universal-login)
- [Customize Classic Universal Login Pages](https://auth0.com/docs/brand-and-customize/customization-classic)

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [September 2, 2021, 12:13pm UTC](https://community.auth0.com/t/i-need-to-add-fields-to-the-login/68856/3 "2021-09-02T12:13:03Z")

</div>

Thanks for helping on this one Steve!

---

<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:** [September 17, 2021, 12:13pm UTC](https://community.auth0.com/t/i-need-to-add-fields-to-the-login/68856/4 "2021-09-17T12:13:06Z")

</div>

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