Code Monkey home page Code Monkey logo

Comments (23)

mbleigh avatar mbleigh commented on September 27, 2024 401

@tems99 we addressed this in #80. You should be able to login by upgrading to the latest version (2.0.2) of firebase-tools and running:

firebase login --interactive

Please let me know if it doesn't work.

from firebase-tools.

smhammadshakil avatar smhammadshakil commented on September 27, 2024 27

firebase login:ci --interactive

this is the solution

from firebase-tools.

bblanke avatar bblanke commented on September 27, 2024 10

Also using:
firebase login --no-localhost
worked for me

from firebase-tools.

AhamedR avatar AhamedR commented on September 27, 2024 5

In windows
if you are using Git Bash try using CMD.

from firebase-tools.

lusamdebonfils avatar lusamdebonfils commented on September 27, 2024 3

firebase login --interactive
Works perfectly. Thanks!!

from firebase-tools.

abdulloh-abid avatar abdulloh-abid commented on September 27, 2024 2

this one worked for me to generate the token for ci/cd:

$ firebase login:ci --interactive --no-localhost

from firebase-tools.

cbraynor avatar cbraynor commented on September 27, 2024

How are you attempting to run the command? Through the command line, cygwin, PowerShell?

from firebase-tools.

DiegoFSFlor avatar DiegoFSFlor commented on September 27, 2024

to me :)

from firebase-tools.

 avatar commented on September 27, 2024

firebase login --interactive

working!! thnks!

from firebase-tools.

Kattenelvis avatar Kattenelvis commented on September 27, 2024

Not a single one of these worked for me. It still says "An unexpected error has occured" right after Paste authorization code here"

from firebase-tools.

mrgab0 avatar mrgab0 commented on September 27, 2024

from cygwin windows 7 sp1. same trouble,
instead of use cygwin use cmd firebase login

solved!

from firebase-tools.

islam-Ellithy avatar islam-Ellithy commented on September 27, 2024

In windows
You can use terminal of vscode ,it works like a sharm

from firebase-tools.

imvikaskohli avatar imvikaskohli commented on September 27, 2024

firebase login:ci --interactive

this is the solution

this worked for me
firebase login:ci --interactive

from firebase-tools.

acatzk avatar acatzk commented on September 27, 2024

damn.... firebase login --interactive HAHAH thanks a lot

from firebase-tools.

Punisher2501 avatar Punisher2501 commented on September 27, 2024

Noting seems to work form all of above in my case can someone help
not working

from firebase-tools.

MdSakibAhmed avatar MdSakibAhmed commented on September 27, 2024

I had same problem. i can solve my problem by this command firebase login:ci --interactive

from firebase-tools.

JBeichert avatar JBeichert commented on September 27, 2024

In windows
if you are using Git Bash try using CMD.

THANKS using powershell fixed it for me!

from firebase-tools.

mrdanishsaleem avatar mrdanishsaleem commented on September 27, 2024

firebase login --interactive

Worked like a charm 🤩

from firebase-tools.

mohammad-zakaria avatar mohammad-zakaria commented on September 27, 2024

firebase login:ci --interactive

this is the solution

It works, thanks :)

from firebase-tools.

snazhmudinov avatar snazhmudinov commented on September 27, 2024

This issue still persists for me, when running on linux CI machines.
I specified both GOOGLE_APPLICATION_CREDENTIALS and FIREBASE_TOKEN env variables, however that doesn't help.
I get Error: Cannot run login:ci in non-interactive mode.

My command:

env GOOGLE_APPLICATION_CREDENTIALS="..." \
    FIREBASE_TOKEN="..." \
    firebase login:ci

from firebase-tools.

champ96k avatar champ96k commented on September 27, 2024

I'm also getting error in azure-cdcd pipeline for firebase project authentication #6276

from firebase-tools.

snazhmudinov avatar snazhmudinov commented on September 27, 2024

@mbleigh do you think it's worth re-opening the issue? or maybe updating the documentation with proper instructions?

from firebase-tools.

samakpan-sp avatar samakpan-sp commented on September 27, 2024

firebase login --interactive worked for me. Thanks

from firebase-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.