Firebase login does not work

I tried to connect a glitch app to firebase, I installed firebase using the packenger, and then tried doing login.


I went to the link and authed glitch, but it redirected me to some localhost site:

I was not logged in. No new logs appeared. Why? What do I do?