Auth0 Home Blog Docs

Signup options object

signup

#1

Is there possibility to pass name for signup user? I am using Auth0.js for signup and there are only three parameters listed there: connection, username and password.

https://auth0.com/docs/libraries/auth0js/v8#sign-up

Can I somehow pass name here in order to show up in User Detail in Auth0?


#2

That method uses the signup endpoint and although the Auth0.js documentation does not yet reflect that you can pass additional information that you want to include in user_metadata (see the endpoint documentation for the details, but you should be able to add a new property user_metadata to the library call and provide an object containing other properties with string values).

Have in mind that the information you provide would be contained within user_metadata so technically, although you can add a name property within the metadata, at this time, you cannot set the name property at the root level of the profile.


#3

Ok, thank you.


#4

Ok, thank you.


#5