Store an Object in the user_metadata

Hello,

In signup api - https://auth0.com/docs/libraries/auth0js/v9#signup - can we store an object in the user_metadata? What will be the best way to store an object in the user_metadata. For example I want to store address in user_metadata which is an object containing street, city and country keys.

Hey there!

User metadata is a dictionary so you can simply add a key-value pair containing that info utilising our Management API or Rules. More on that here: