Populate user with all fields

Hello! I’m using Custom Database connection while logging in. Here is the code for it:

function login(email, password, context, callback) {
  const axios = require('axios');

  axios.post(
    'api_url',
    {      
      email,
      password,
      headers: {
    "Content-Type": "application/json",
  },
    }).then((response) => {
    callback(null, {
      user_id: response.data.username,
      name: response.data.username,
      user_metadata: {test_id: 321}   
    });
  }).catch((err) => callback(err.status));
}

Then I see through the Auth0 dashboard that the user has that metadata or whatever I pass that way (and many other properties like logins_cout etc), but I’m not able to pass this data further. How to do that? Now the user entity which I get at frontend has only these properties: name, nickname, picture, updated_at, sub