Skip to content

CLI version 2024.6.0 login with apikey fails #9677

Open
@pjlammertyn

Description

@pjlammertyn

Steps To Reproduce

export BW_CLIENTID="?????" # replace with your client id
export BW_CLIENTSECRET="??????" # replace with your client secret

bw login --apikey

The command responds, that we are succesfully logged in:

image

We validate that we are logged in, by running the status command:

bw status

But it says that we are unauthenticated!

Screenshot 2024-06-16 07 50 18

Expected Result

That we are authenticated

Actual Result

Not authenticated

Screenshots or Videos

image

Screenshot 2024-06-16 07 50 18

Additional Context

No response

Operating System

Linux

Operating System Version

debian 12

Shell

Bash

Build Version

2024.6.0

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcliCLI Application

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions