# How to request username during registration?

**URL:** <https://community.auth0.com/t/how-to-request-username-during-registration/182097>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [February 13, 2025, 11:07am UTC](https://community.auth0.com/t/how-to-request-username-during-registration/182097 "2025-02-13T11:07:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![bryce.wayne.person](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bryce.wayne.person/32/59788_2.png) [@bryce.wayne.person](https://community.auth0.com/u/bryce.wayne.person)\
**Post date:** [February 13, 2025, 11:07am UTC](https://community.auth0.com/t/how-to-request-username-during-registration/182097/1 "2025-02-13T11:07:25Z")

</div>

Could you please help me with my question  
I use universal login page and authorization code flow  
What are the ways I can request a name field(which can be the same for different users, not username) when registering? So that the name field is added to the mail and password field on the registration page and then it comes in the “nickname” claim in ID token

Thank you!

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [February 13, 2025, 12:46pm UTC](https://community.auth0.com/t/how-to-request-username-during-registration/182097/3 "2025-02-13T12:46:11Z")

</div>

Hi @bryce.wayne.person

Welcome back to the Auth0 Community!

You can use the Forms feature to add additional signup steps. Our documentation has a complete guide about that → [Use Cases: Configure additional signup steps using Forms](https://auth0.com/docs/customize/forms/configure-additional-signup-steps) or alternatively, you can check progressive profiling → [Use Cases: Configure a progressive profile form using Forms](https://auth0.com/docs/customize/forms/configure-progressive-profile-form)

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![bryce.wayne.person](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bryce.wayne.person/32/59788_2.png) [@bryce.wayne.person](https://community.auth0.com/u/bryce.wayne.person)\
**Post date:** [February 13, 2025, 2:02pm UTC](https://community.auth0.com/t/how-to-request-username-during-registration/182097/4 "2025-02-13T14:02:14Z")

</div>

@dawid.matuszczyk Thanks for the answer!  
According to the instructions, I should create an M2M application first  
So first I should create an API  
What identifier should I specify there? I don’t understand what this affects (I understand that it will come in the “audience” parameter)

---

<div class="post-metadata">

**Author:** ![bryce.wayne.person](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bryce.wayne.person/32/59788_2.png) [@bryce.wayne.person](https://community.auth0.com/u/bryce.wayne.person)\
**Post date:** [February 13, 2025, 2:11pm UTC](https://community.auth0.com/t/how-to-request-username-during-registration/182097/5 "2025-02-13T14:11:35Z")

</div>

@dawid.matuszczyk  
I created an API with the necessary scopes(from [this](https://auth0.com/docs/customize/forms/configure-progressive-profile-form)) (API tab)  
an M2M application was automatically created (application tab) - I used the domain, client ID and Client Secret fields to create a connection to the vault  
and received this error

 ![2](https://global.discourse-cdn.com/auth0/original/3X/f/2/f21c6198a4263fdbedac91e4c4138caa02c02611.png)

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [February 13, 2025, 2:25pm UTC](https://community.auth0.com/t/how-to-request-username-during-registration/182097/6 "2025-02-13T14:25:21Z")

</div>

Hi @bryce.wayne.person

I suppose you mentioned the identifier during the creation of the M2M app. You need to pick the Auth0 Managment API and select the permissions mentioned in the docs. After that, you should be able to create a vault based on this application

```auto
* `read:users`
* `update:users`
* `create:users`
* `read:users_app_metadata`
* `update:users_app_metadata`
* `create:users_app_metadata`

```

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![bryce.wayne.person](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bryce.wayne.person/32/59788_2.png) [@bryce.wayne.person](https://community.auth0.com/u/bryce.wayne.person)\
**Post date:** [February 13, 2025, 2:37pm UTC](https://community.auth0.com/t/how-to-request-username-during-registration/182097/7 "2025-02-13T14:37:40Z")

</div>

@dawid.matuszczyk Thank you!  
Did I understand correctly?  
that I should create a new M2M application (from the application tab) and select **Auth0 Managment API** exactly as an API, then specify the necessary scopes

And when creating new vault connection, I specify Auth0 → fill tenant domain and the Client ID and the Client Secret of this application

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [February 13, 2025, 2:38pm UTC](https://community.auth0.com/t/how-to-request-username-during-registration/182097/8 "2025-02-13T14:38:39Z")

</div>

Yes, you are perfectly right!

---

<div class="post-metadata">

**Author:** ![bryce.wayne.person](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bryce.wayne.person/32/59788_2.png) [@bryce.wayne.person](https://community.auth0.com/u/bryce.wayne.person)\
**Post date:** [February 13, 2025, 2:57pm UTC](https://community.auth0.com/t/how-to-request-username-during-registration/182097/9 "2025-02-13T14:57:16Z")

</div>

@dawid.matuszczyk Thank you very much for your help and quick answers!

---

<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:** [February 27, 2025, 5:34pm UTC](https://community.auth0.com/t/how-to-request-username-during-registration/182097/11 "2025-02-27T17:34:06Z")

</div>

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