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

160
Vistas
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 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