# Resource owner authentication : userid and prefix providerId

**URL:** <https://community.auth0.com/t/resource-owner-authentication-userid-and-prefix-providerid/10768>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [April 10, 2018, 9:40am UTC](https://community.auth0.com/t/resource-owner-authentication-userid-and-prefix-providerid/10768 "2018-04-10T09:40:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidh](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@davidh](https://community.auth0.com/u/davidh)\
**Post date:** [April 10, 2018, 9:40am UTC](https://community.auth0.com/t/resource-owner-authentication-userid-and-prefix-providerid/10768/1 "2018-04-10T09:40:15Z")

</div>

I have a backend application that sign up users using the resource owner api.  
I am using the default database connection of auth0  
When a user is created auth0 adds to his userId a prefix with the providerId  
i.e. “auth0|”  
I would like to control the prefix. i.e modify this prefix for example : “mycompany|”.  
registration can only be done using resource owner method.

How can I achieve that?

Thank David

---

<div class="post-metadata">

**Author:** ![thameera](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/thameera/32/13430_2.png) [@thameera](https://community.auth0.com/u/thameera)\
**Post date:** [April 12, 2018, 3:56am UTC](https://community.auth0.com/t/resource-owner-authentication-userid-and-prefix-providerid/10768/2 "2018-04-12T03:56:44Z")

</div>

Hey @davidh, this is something that’s not supported - all database users will have the `auth0|` prefix and you cannot change that.

If it’s a custom DB, you can change the custom DB scripts to send a `mycompany|` prefix with the IDs, but afterwards Auth0 will add the `auth0|` prefix too (eg: `auth0|mycompany|123`).

---

<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:** [July 25, 2019, 12:42pm UTC](https://community.auth0.com/t/resource-owner-authentication-userid-and-prefix-providerid/10768/3 "2019-07-25T12:42:46Z")

</div>

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