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

155
Views
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
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!