Can I add App_metadata just like user metadata during signup?

I am using auth0 library signup method for user registration.But I want to add app metadata during signup only . Can I add app metadata like below , will that work ?
connection: ‘Username-Password-Authentication’,
email: ('.signup-email').val(), password: (’.signup-password’).val(),
user_metadata: { plan: ‘silver’, team_id: ‘a111’ }.
app_metadata: { }

Hi @gokul.kesharwani,

Welcome to the Community!

Did you try this? I am not sure it will work, as this likely uses the signup endpoint which doesn’t allow for it.

You would probably be better off using a post user registration hook.

Check out this topic where it is described in detail:

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