No user_metadata or app_metadata key in Try Connection of Custom Database

Hi there,

I am trying to integrate auth0 into my existing application and I’m using a custom database connected via a POST api. I can see that all required keys are being returned from the db, however when I try to return the same keys inside the app_metadata or user_metadata keys of the user object, I don’t see those keys being displayed on the Try Connection page of the Custom DB connection. All I can see are the core attributes of the Normalised User Profile.

What I received from custom db login script

What could be the reason and how can I fix this? Also, a more general question what would be the best way of returning custom keys to the frontend applications. Since this is an existing application, I’d prefer to not change the existing schema however I couldn’t find a way to specify custom schema for the normalised user profile. Is that possible?