firebase / firebase/firebase-tools
FirebaseError: Authentication Error: Your credentials are no longer valid. Please run firebase login --reauth
- Dominant language
- TypeScript
- Stars
- 4.5k
- Forks
- 1.3k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 84
Description
### [REQUIRED] Environment info
firebase --version = 8.6.0
**firebase-tools:**
**Platform:**
Windows 10
### [REQUIRED] Test case
### [REQUIRED] Steps to reproduce
Listed below are the commands and responses
firebase login
Already logged in as juliuskumar
firebase projects:list
× Preparing the list of your Firebase projects
Error: Failed to list Firebase projects. See firebase-debug.log for more info.
### [REQUIRED] Expected behavior
firebase projects:list - should connect to firebase account and list my projects
### [REQUIRED] Actual behavior
Listed below are the commands and responses
firebase projects:list
× Preparing the list of your Firebase projects
Error: Failed to list Firebase projects. See firebase-debug.log for more info.
```
<---DEBUG LOG -->
[debug] [2020-07-31T15:33:32.772Z] ----------------------------------------------------------------------
[debug] [2020-07-31T15:33:32.775Z] Command: C:\Program Files\nodejs\node.exe C:\Users\< >\AppData\Roaming\npm\node_modules\firebase-tools\lib\bin\firebase.js projects:list
[debug] [2020-07-31T15:33:32.775Z] CLI Version: 8.6.0
[debug] [2020-07-31T15:33:32.775Z] Platform: win32
[debug] [2020-07-31T15:33:32.775Z] Node Version: v10.15.3
[debug] [2020-07-31T15:33:32.778Z] Time: Fri Jul 31 2020 08:33:32 GMT-0700 (Pacific Daylight Time)
[debug] [2020-07-31T15:33:32.778Z] ----------------------------------------------------------------------
[debug] [2020-07-31T15:33:32.778Z]
[debug] [2020-07-31T15:33:32.791Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
[debug] [2020-07-31T15:33:32.792Z] > authorizing via FIREBASE_TOKEN environment variable
[debug] [2020-07-31T15:33:32.802Z] > refreshing access token with scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
[debug] [2020-07-31T15:33:32.803Z] >>> HTTP REQUEST POST https://www.googleapis.com/oauth2/v3/token
[debug] [2020-07-31T15:33:32.944Z] Authentication Error: Your credentials are no longer valid. Please run firebase login --reauth
For CI servers and headless environments, generate a new token with firebase login:ci
[debug] [2020-07-31T15:33:32.949Z] FirebaseError: Authentication Error: Your credentials are no longer valid. Please run firebase login --reauth
For CI servers and headless environments, generate a new token with firebase login:ci
at Object. (C:\Users\< >\AppData\Roaming\npm\node_modules\firebase-tools\lib\auth.js:23:32)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (C:\Users\< >\AppData\Roaming\npm\node_modules\firebase-tools\lib\commands\login.js:20:14)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
[error]
[error] Error: Failed to list Firebase projects. See firebase-debug.log for more info.
```
Contributor guide
Assessment
This issue has not been assessed yet.