Firebase Login failing

Whenever I tried to run the firebase login command, it gives me an URL, but then it refuses the connection. The command works fine in my computer, but not in Glitch terminal. What can I do? I’m trying to make a bot for telegram that runs Firestore.

Well, I’ll simply make the update and get request for Firestore inside a Cloud Function.