Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

191
Vistas
Auth0 get users not returning all data

I have an application that uses Auth0 for auth/authz. The frontend is Vue.js and the backend is Node.js. I am tryng to have it so that the frontend will call some endpoints during the setup phase then it will call my backend to get the user's meta data. I so far can get the setup right and the meta data saved (checked via UI) however the final call to get the user's metadata isn't returning the meta data I need (user_metadata).

Below is my options for my axios request to get the meta data. Below that is the result from the fetching of the metadata with some stuff removed like IP and emails.

Axios options

const get_user_options = {
  method: 'GET',
  url: `https://${domain}/api/v2/users/${auth0_user_id}`,
  headers: {
      authorization: `Bearer ${token}`,
     'content-type': 'application/json'
  },
}

Results


{
  created_at: '2022-02-04T17:19:22.456Z',
  email: '<an email>',
  email_verified: false,
  identities: [
    {
      connection: 'Username-Password-Authentication',
      provider: 'auth0',
      user_id: '<>',
      isSocial: false
    }
  ],
  name: 'Admin 8',
  nickname: 'me8',
  picture: 'https://s.gravatar.com/avatar/9757598208a8ca467592abeec77734c4?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fjo.png',
  updated_at: '2022-02-04T17:19:34.864Z',
  user_id: 'auth0|<>',
  last_ip: '<my ip>',
  last_login: '2022-02-04T17:19:22.454Z',
  logins_count: 1
}

What am I getting wrong that is resulting in me not getting back the user's metadata?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda