Comments (5)
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.
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.
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.
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.
Just merged the PR. I'll tag a new release in a bit.
from socialite.
Related Issues (20)
- Page Isn't Redirect Properly Error In Github After Authorize Application HOT 1
- How can i make our customer to login with linkedin HOT 1
- sending wrong scope for linkedin HOT 2
- Exception on Linkedin: Undefined array key "storageSize" HOT 6
- [Linkedin] 'profile' and 'email' should be used as scopes[As Linkedin changed it] instead of 'r_liteprofile', 'r_emailaddress'.
- Profile URL HOT 1
- 5.11 release: PHP Fatal error: Declaration of SocialiteProviders\Okta\Provider::getRefreshTokenResponse(string $refreshToken) must be compatible with Laravel\Socialite\Two\AbstractProvider::getRefreshTokenResponse($refreshToken) HOT 1
- SocialiteProviders\Apple\Provider::refreshToken(string $refreshToken) compatibility problem HOT 1
- Trying to access array offset on value of type null HOT 1
- Can't get bot slack user and bot tokens HOT 7
- Refreshing access tokens does not work for Google HOT 3
- facebook API version question HOT 1
- GoogleProvider Type Error HOT 3
- GoogleProvider Not Receiving nickname Key HOT 3
- Issue authenticating HOT 3
- Bug with Microsoft ADFS after PR 684 HOT 3
- Sign In With LinkedIn Not working aymore? HOT 1
- Socialite installation will have the default packages removed HOT 6
- Facebook always returns null for email HOT 4
- ID, Token, and RefreshToken not being populated HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from socialite.