Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0] Update Google API urls #346

Merged
merged 1 commit into from
Feb 22, 2019
Merged

[4.0] Update Google API urls #346

merged 1 commit into from
Feb 22, 2019

Conversation

driesvints
Copy link
Member

These updates ensure we're using the latest API urls from Google and continue to provide a working app after the shutdown of the Google+ functionality in March 2019.

By changing to the new v3 url for the user info retrieval, some of the keys from the response have changed. I've added the mappings to the old keys for the raw user data so nothing should break. These can be removed in v5.0 of Socialite.

Fixes #337

These updates ensure we're using the latest API urls from Google and continue to provide a working app after the shutdown of the Google+ functionality in March 2019.

By changing to the new v3 url for the user info retrieval, some of the keys from the response have changed. I've added the mappings to the old keys for the raw user data so nothing should break. These can be removed in v5.0 of Socialite.
@taylorotwell taylorotwell merged commit 464af93 into laravel:4.0 Feb 22, 2019
@driesvints driesvints deleted the update-google-provider branch February 22, 2019 15:15
@goyote
Copy link

goyote commented Mar 15, 2019

But what's the point of changing the array key name for no reason?

driesvints added a commit that referenced this pull request Mar 15, 2019
This key name was incorrectly changed in #346
@driesvints
Copy link
Member Author

@bkuhl @goyote released a bug fix for this.

@bkuhl
Copy link

bkuhl commented Mar 15, 2019

Oh great, thanks!

drakeford97 added a commit to drakeford97/Socialite that referenced this pull request May 25, 2022
This key name was incorrectly changed in laravel/socialite#346
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants