Providers icon indicating copy to clipboard operation
Providers copied to clipboard

Google Provider using soon to be depreciated API

Open FlauntMatt opened this issue 2 years ago • 5 comments

I'm building a new application using the google provider to authenticate internal google accounts against our Google Search Console clients. After signing in with google and attempting to get sitemaps from api.client.webmasters.sitemaps.get the following error is being returned

Error: {"error":"idpiframe_initialization_failed","details":"You have created a new client application that uses libraries for user authentication or authorization that will soon be deprecated. New clients must use the new libraries instead; existing clients must also migrate before these libraries are deprecated. See the Migration Guide for more information."}

I suspect this is an issue with the SocialiteProvider for Google login needing an update to use the new method of authentication detailed in https://developers.google.com/identity/gsi/web/guides/gis-migration, is this the case?

FlauntMatt avatar Nov 07 '22 16:11 FlauntMatt

Feel free to PR a fix :)

atymic avatar Nov 08 '22 01:11 atymic

We're going to need the new API, so I can make a PR after editing the existing provider

guillaumeboussion avatar Jan 05 '23 07:01 guillaumeboussion

I've made a PR to laravel/socialite package (as they requested) but in the end Taylor changed his mind and rejected it. I will make a PR for this issue soon.

CosminBd avatar Jun 08 '23 08:06 CosminBd

Hello guys! Does the current state of google provider support Google OneTap Authorization? If yes, how to configure application to turn it on?

tamrazz avatar Dec 15 '23 14:12 tamrazz

Feel free to PR here.

atymic avatar Dec 16 '23 02:12 atymic