# More than 10 custom fields when SignUp

**URL:** <https://community.auth0.com/t/more-than-10-custom-fields-when-signup/94431>\
**Category:** Get Help\
**Tags:** automatic-migration, user-management\
**Created:** [November 15, 2022, 2:35am UTC](https://community.auth0.com/t/more-than-10-custom-fields-when-signup/94431 "2022-11-15T02:35:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![y.suzuki](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/y.suzuki/32/25657_2.png) [@y.suzuki](https://community.auth0.com/u/y.suzuki)\
**Post date:** [November 15, 2022, 2:35am UTC](https://community.auth0.com/t/more-than-10-custom-fields-when-signup/94431/1 "2022-11-15T02:35:59Z")

</div>

I would like to have more than 10 custom fields at sign-up.

The Auth0 user does not need to store any custom field information, as long as it can be stored in the user table of an external database. (Create script for Custom Database)

However, due to the limitation that the number of fields that can be added to user\_metadata is limited to 10, I can’t pass all fields (more than 10) to the Create script. Is there a solution to this problem?

 ![image](https://global.discourse-cdn.com/auth0/original/3X/d/6/d61257f9376d0f954835ce10019eca15b7dfe63c.png)

---

<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:** [November 15, 2022, 6:37pm UTC](https://community.auth0.com/t/more-than-10-custom-fields-when-signup/94431/4 "2022-11-15T18:37:48Z")

</div>

Hi @y.suzuki ,

I noticed that you created a support ticket for the same query. Once the ticket is solved, I will share the solution on this topic to help other folks in our community. Thanks!

---

<div class="post-metadata">

**Author:** ![y.suzuki](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/y.suzuki/32/25657_2.png) [@y.suzuki](https://community.auth0.com/u/y.suzuki)\
**Post date:** [November 16, 2022, 2:07am UTC](https://community.auth0.com/t/more-than-10-custom-fields-when-signup/94431/5 "2022-11-16T02:07:29Z")

</div>

@lihua.zhang , thank you.

I hope there is a solution, even if it means more processing content.

---

<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:** [November 28, 2022, 7:47pm UTC](https://community.auth0.com/t/more-than-10-custom-fields-when-signup/94431/6 "2022-11-28T19:47:02Z")

</div>

Below is the solution provided in the Support ticket.

When setting the user\_metadata field using the Authentication API /dbconnections/signup endpoint, you are limited to a maximum of 10 string fields and 500 characters.

> **[Understand How Metadata Works in User Profiles](https://auth0.com/docs/manage-users/user-accounts/metadata#custom-database-connections-and-metadata)**
>
> Describes Auth0 user, application, and client metadata. Learn how you can use metadata to store information that does not originate from an identity provider.

> **[Custom Signup](https://auth0.com/docs/libraries/custom-signup#custom-fields-limitations)**
>
> How to customize the user signup form with additional fields using Lock or the Auth0 API.

The above limit is for the signup events, so the values will not be passed on to the next action in the flow.

You can add values from an external database to [user.user\_metadata] after signUp.

You can make use of post-login action to fetch the user’s details from the external DB and update the metadata values.

However, it should be noted that depending on your usage of this endpoint, this may cause issues with rate limiting ([Rate Limit Policy](https://auth0.com/docs/troubleshoot/customer-support/operational-policies/rate-limit-policy))

---

<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:** [December 12, 2022, 7:47pm UTC](https://community.auth0.com/t/more-than-10-custom-fields-when-signup/94431/7 "2022-12-12T19:47:23Z")

</div>

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