firebase / firebase/firebase-tools

firebase login --no-localhost failed

Open
#5,949 11 comments 0 reactions 1 assignee Claimed by @joehan View on GitHub
Needs: Attention type: bug
Dominant language
TypeScript
Stars
4.5k
Forks
1.3k
Avg merge
1d 12h
Merged PRs (30d)
84

Description

### [REQUIRED] Environment info

**firebase-tools: firebase login --no-localhost**

**Platform: MacOS**

### [REQUIRED] firebase login --no-localhost, But Failed.

frank@localhost ~ % firebase login --no-localhost
i Firebase optionally collects CLI and Emulator Suite usage and error reporting information to help improve our products. Data is collected in accordance with Google's privacy policy (https://policies.google.com/privacy) and is not used to identify you.

? Allow Firebase to collect CLI and Emulator Suite usage and error reporting
information? Yes
i To change your data collection preference at any time, run `firebase logout` and log in again.

To sign in to the Firebase CLI:

1. Take note of your session ID:

1FC00

2. Visit the URL below on any device and follow the instructions to get your code:

https://auth.firebase.tools/login?code_challenge=lNJrRQF18kC-3Z5ugT9PiFmMXMsQyHji3RXlAsrBKaw&session=1fc00e87-ef04-4510-80e8-250aa3f865da&attest=zuxDjPaiZYUVWXCYx8TomlM4FIOamZ_fCew-chMYDGI

3. Paste or enter the authorization code below once you have it:

? Enter authorization code:
4/0AbUR2VNOsVdLwU72BmEFf8_8Jq9znfkPkaTGXbb11aSWaMvUEmhs02aZMCaAoyngdeK7eg

Error: Unable to authenticate using the provided code. Please try again.
frank@localhost ~ %
### [REQUIRED] Steps to reproduce

### [REQUIRED] Expected behavior

### [REQUIRED] Actual behavior
Error: Unable to authenticate using the provided code. Please try again.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.