manasouza / sfin-bills

0 stars 0 forks source link

Cannot setup new environment due Google Auth process #158

Closed manasouza closed 6 months ago

manasouza commented 8 months ago

When following the authorization link:

Web server is up
Authorize this app by visiting this url: https://accounts.google.com/o/oauth2/v2/auth?access_type=offline&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive.metadata.readonly&response_type=code&client_id=299405398705-305hce1carlccrp7k55krl6gsfl95a46.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob
Enter the code from that page here:

The following page is shown

image

Then following developer instructions:

Error 400: invalid_request

The out-of-band (OOB) flow has been blocked in order to keep users secure. Follow the Out-of-Band (OOB) flow migration guide linked in the developer docs below to migrate your app to an alternative method.

Request details: access_type=offline response_type=code redirect_uri=urn:ietf:wg:oauth:2.0:oob client_id=299405398705-305hce1carlccrp7k55krl6gsfl95a46.apps.googleusercontent.com scope=https://www.googleapis.com/auth/drive.metadata.readonly 

REF: https://developers.google.com/identity/protocols/oauth2/resources/oob-migration