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

159
Visualizações
Google idToken payload doesn't have first name, profile picture or lastname. Angular and firebase

I build sign in with google on my angular app using firebase 8, and it's working well but i decoded google payload it doesn't have display name or first, last name and also profile piture.

Here's my function

const provider = new firebase.default.auth.GoogleAuthProvider();
return this.oAuthLogin(provider)
  .then((value: any) => {
    if (value) {
      const user = value.credential;
      console.log(user.idToken)
      this.socialLoginAPICall(user['idToken']);
    }
  })
  .catch((error) => {
    this.toaster.error(error.message, 'Something went wrong')
  });

here's a things what i get from google payload

{
  "iss": "accounts.google.com",
  "azp": "",
  "aud": "",
  "sub": "",
  "email": "",
  "email_verified": true,
  "at_hash": "",
  "iat": 12321322,
  "exp": 2131321
}

anyone have idea about it? thanks in advance.

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