Skip to content

bug: CLI login breaks when switching between accounts tied to different emails #1057

@sujaya-sys

Description

@sujaya-sys

Node.js version

node-v23.5.0

NPM version

11.2.0

@checkly/cli version

5.2.0

Steps to reproduce

There’s an issue with the Checkly CLI where attempting to switch between accounts tied to different e-mail addresses using the login flow causes it to break.

Steps to reproduce:

What is expected?

Switch between accounts via "npx checkly login" without an error being thrown

What is actually happening?

The CLI throws an error, and the login fails
Image

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions