browserslist / browserslist-ga

🦔 Target browsers tailored to your audience using Google Analytics
MIT License
303 stars 18 forks source link

Error 400 - The loopback flow has been blocked #43

Open kevinfarrugia opened 1 year ago

kevinfarrugia commented 1 year ago

When attempting to use the app, with the default BROWSERSLIST_GA_CLIENT_ID a 400 - Invalid Request error.

The loopback flow has been blocked in order to keep users secure. Follow the Loopback IP Address flow migration guide linked in the developer docs below to migrate your app to an alternative method. Related developer documentation

From my understand, Google OAuth2 no longer supports redirecting back to http://127.0.0.1 or http://localhost unless the app is OAuth Client App is specified as Desktop.

image

I have created my own app and am able to work without issue but it might make sense to update the default OAuth Client ID.