Search code examples
cloud9-idefirebase-toolscloud9

can't firebase login in Cloud 9


Installed firebase-tools in Cloud 9. To set it up, tried firebase login but can't get the auth for the cli. After clicking on the authentication link that's provided, the redirect url looks for the localhost which obviously can't be reached.

Answer on cloud9 support makes sense but did everything that's been told there and still can't make it work. The authentication link itself already has localhost to redirect to and the port is by default 9005 in the link - manually changing it to c9 workspace preview url or port number returns "redirect url mismatched" from Google.

Anybody else tried firebase-tools in Cloud 9 and made this work? Thanks in advance!


Solution

  • From Michael Bleigh's answer on the firebase-talk group:

    Try running

    firebase login --no-localhost