You can read metadata using rules with the Management API and with Lock. You can also search for profile-related information in
user_metadata, such as:
As an example, assume the following metadata is stored for a user with the email address
Read metadata with the Management API
Any valid JSON snippet can be used as metadata.
Read metadata with Lock
Using the Lock library, you can read the user's
user_metadata properties the same way you would read any other user profile property. This example retrieves the value associated with
user_metadata.hobby using the example user metadata listed above:
For details on how to initialize
lock refer to Auth0Lock(clientID, domain, options).