Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

161
Views
La carga útil de Google idToken no tiene nombre, foto de perfil ni apellido. Angular y base de fuego

Construí el inicio de sesión con google en mi aplicación angular usando firebase 8, y funciona bien, pero decodifiqué la carga útil de google, no tiene nombre para mostrar ni nombre, apellido ni imagen de perfil.

Aquí está mi función

 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') });

aquí hay algunas cosas que obtengo de la carga útil de Google

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

alguien tiene idea al respecto? gracias de antemano.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!