Auth/operation not supported in this environment [For Sign-In with Google]
For a new web developer or firse-time firebase user going through the firebaseui-web tutorial sequentially in github, they will experience an issue if they try to support login through one of our federated providers and test it locally in the file environment.

This can be easily resolved if the user uses the Firebase CLI, using firebase serve so it goes through localhost, but an introduction to this is missing in the Github. Perhaps we could also make the error code message indicate this solution so developers will know where to go.
I will add this to the README. Thanks for pointing this out.
I believe the issue still exists even if you use "firebase serve"
I run "firebase serve" then go to http://localhost:5002 and still I see "Error code: auth/app-not-authorized Dismiss"
Can you give details how localhost can be used to login.
For example, see

This is a different error. This is related to a configuration issue. Go to Firebase console, your project, then Auth > Sign-in methods and make sure localhost:5002 is an authorized domain.
@TMSCH Thank you for the quick response and I apologize for delay.
But I still see issues.
If I try to add localhost:5000 or any host with port at https://console.firebase.google.com/project/classified-678e9/authentication/providers I see an error message "A valid domain name is required (e.g. 'myapp.com')"

In addition, if I serve on port 80 of localhost, I still see the error (this is on a mac (not sure if that matters))
$ sudo firebase serve -p 80

You are getting that error most likely because you have some referrer restrictions on you api key. When you create a new firebase console, an api key is provisioned with no restrictions. Did you create this api key manually? or are you migrating from an older Firebase project?
I apologize. I started from scratch and it works correctly. Thanks for your replies and your patience.
The new 0.5.0 release improved the error messages being displayed, which should help debugging.