rapidwebltd / php-google-people-api

👥 This package provides a user friendly way of interacting with Google Contacts via the Google People API.
GNU Lesser General Public License v3.0
99 stars 39 forks source link

OAuth oob flow will be deprecated #44

Open Skeltzer opened 2 years ago

Skeltzer commented 2 years ago

In a blog post earlier this year, Google announced that the "OAuth out-of-band (oob) flow will be deprecated" and will no longer work as of October 3, 2022. Will this package still work after that date?

bogdanGR commented 2 years ago

I already get this type of error message (http://prntscr.com/6JVCsfHHNVk_) with this API :(

nksubin commented 1 year ago

Create credentials in google console with application type web app and add your redirect domain there

Go to vendor/rapidwebltd/php-google-oauth-2-handler/src/GoogleOAuth2Handler.php

change this ->client->setRedirectUri('urn:ietf:wg:oauth:2.0:oob'); to ->client->setRedirectUri('**DOMAIN you provided in Developer console**');

and now try to do the set up, it worked for me...