Giter VIP home page Giter VIP logo

Comments (5)

rjvandoesburg avatar rjvandoesburg commented on May 15, 2024

I too am experiencing this problem with a newly created token. On another website (different token) I am still receiving displayName.

Attached 2 different responses:

The old one is from another implementation

{
  "kind": "plus#person",
  "etag": "\"random_string\"",
  "emails": [
    {
      "value": "[email protected]",
      "type": "account"
    }
  ],
  "objectType": "person",
  "id": "id",
  "displayName": "Robert-John van Doesburg",
  "name": {
    "familyName": "van Doesburg",
    "givenName": "Robert-John"
  },
  "image": {
    "url": "https://placehold.it/50x50",
    "isDefault": false
  },
  "isPlusUser": false,
  "language": "en_GB",
  "verified": false,
  "domain": ""
}

This is the response I'm getting from a newly generated key.

{
  "id": "",
  "email": "[email protected]",
  "verified_email": true,
  "name": "Robert-John van Doesburg",
  "given_name": "Robert-John",
  "family_name": "van Doesburg",
  "link": "https://plus.google.com/",
  "url": "https://placehold.it/50x50",
  "locale": "en-GB",
  "hd": ""
}

As they differ so much I think I'm doing something different so I'll keep looking into it.

Cheers,

from socialite.

NicolaeCasir avatar NicolaeCasir commented on May 15, 2024

Good job man. I just wanted to make PR... With email its OK.. but with name, its a problem... i've edited GoogleProvider in vendor but im waiting for merge!

from socialite.

rjvandoesburg avatar rjvandoesburg commented on May 15, 2024

Merging the PR will break my other implementations so more investigation is needed or the PR need to be updated to accommodate both responses

from socialite.

chienqan avatar chienqan commented on May 15, 2024

I have the same problem too, I have used dd and see that not only name but also nick name, email and avatar url

from socialite.

driesvints avatar driesvints commented on May 15, 2024

Just merged the PR. I'll tag a new release in a bit.

from socialite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.