Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

193
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda