laravel-ads-sdk icon indicating copy to clipboard operation
laravel-ads-sdk copied to clipboard

Out-of-band (OOB) flow for Google has been removed

Open vantezzen opened this issue 2 years ago • 0 comments

When using php artisan laravelads:token:generate --service=GoogleAds, the OOB flow will be used by setting the redirect URL to "urn:ietf:wg:oauth:2.0:oob".

This has been deprecated and removed by Google (https://developers.google.com/identity/protocols/oauth2/resources/oob-migration#overview), especially for new apps. Due to this, it's impossible to generate new refresh tokens on apps created after February 28th.

Google's docs recommend switching to custom API endpoint to handle this

vantezzen avatar Nov 10 '22 14:11 vantezzen