Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tool commands 'logout' and 'login --reauth' fail when credentials are expired in [email protected] #7442

Closed
andy-tmpt-me opened this issue Jul 12, 2024 · 3 comments · Fixed by #7445

Comments

@andy-tmpt-me
Copy link

andy-tmpt-me commented Jul 12, 2024

Environment info

firebase-tools: 13.13.2

Platform: macOS

Test case

(base) andrewjenkins@Andrews-MBP tmpt_me_client %  firebase login --reauth
(node:85243) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

Error: Authentication Error: Your credentials are no longer valid. Please run firebase login --reauth

(base) andrewjenkins@Andrews-MBP tmpt_me_client % firebase logout
(node:53687) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

Error: Authentication Error: Your credentials are no longer valid. Please run firebase login --reauth

Steps to reproduce

With most recent version of 13.13.2:

 npm install -g firebase-tools
firebase login

...wait for credentials to expire

firebase login --reauth

Expected behavior

I should be able to logout or refresh expired credentials

Actual behavior

The tool produces an Authentication Error even on logout. Downgrading to npm install -g [email protected] works

@andy-tmpt-me andy-tmpt-me changed the title Logout and Login --reauth fail when credentials are expired in [email protected] Tool commands 'logout' and 'login --reauth' fail when credentials are expired in [email protected] Jul 12, 2024
@seaders
Copy link

seaders commented Jul 12, 2024

Same here, downgrading back to 13.3.1 works and allows me to login again. Not going near another release until this is resolved, has caused a serious amount of pain for us today.

@joehan
Copy link
Contributor

joehan commented Jul 12, 2024

Hey all, sorry for any inconvenience this issue has caused. I'm investigating this issue this morning and will hopefully have a fix soon. If anyone who is experiencing this issue could rerun the failing commands with --debug, that would be very helpful as well.

@unacorbatanegra
Copy link

image

Happen to me aswell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants