Skip to content

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

Closed

Description

@andy-tmpt-me

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

Activity

  1. 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][/+] on Jul 12, 2024
  2. seaders commented on Jul 12, 2024

    @seaders

    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.

  3. joehan commented on Jul 12, 2024

    @joehan
    Member

    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.

  4. unacorbatanegra commented on Jul 12, 2024

    @unacorbatanegra
    image

    Happen to me aswell

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions