schulzefelix / laravel-adwords-targeting-idea-service

Get KeywordIdeas and Search Volumes from AdWords
MIT License
27 stars 8 forks source link

The redirect URI for OAuth2 installed application flows changed #25

Open kucugum opened 2 years ago

kucugum commented 2 years ago

google changed oauth system

https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html

https://developers.google.com/identity/protocols/oauth2/resources/oob-migration#inspect-your-application-code

GenerateRefreshTokenCommand.php is affected by this.


/**
      * @var string the redirect URI for OAuth2 installed application flows
      * @see https://developers.google.com/identity/protocols/OAuth2InstalledApp#formingtheurl
      */
     const REDIRECT_URI = 'urn:ietf:wg:oauth:2.0:oob';

I think this part will cause a problem.

schulzefelix commented 2 years ago

Thanks for pointing out, but not sure when have the time to figure out the new Oauth flow.

Happy to merge a PR if someone rewrites the command.