Resource owner authentication : userid and prefix providerId

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

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).

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