Unable to login into CLI #1379

Closed
opened 2026-04-06 01:52:53 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @pthoelken on 11/5/2023

Steps To Reproduce

  1. Download the latest CLI Linux Binary
  2. Mount it into your container image (/usr/bin/bw)
  3. Run bw login --apikey (also tried with --raw) and put in the exact chars from https://yourdomain.vault.local/#/settings/security/security-keys
  4. Become the error message below (also tried with the whitespace from "client_id" from the website.
root@75481d729f41:/# bw login --apikey --raw
? client_id: user.XXXXXXXXXXXX
? client_secret: XXXXXXXXXXXXXXXXXXXXX
client_id or client_secret is incorrect. Try again.

Expected Result

Successfull login

Actual Result

root@75481d729f41:/# bw login --apikey --raw
? client_id: user.XXXXXXXXXXXX
? client_secret: XXXXXXXXXXXXXXXXXXXXX
client_id or client_secret is incorrect. Try again.

Screenshots or Videos

image

image

Additional Context

No response

Operating System

Linux

Operating System Version

Container - Latest Image

Shell

Bash

Build Version

2023.10.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.
*Originally created by @pthoelken on 11/5/2023* ### Steps To Reproduce 1. Download the latest CLI Linux Binary 2. Mount it into your container image (/usr/bin/bw) 3. Run `bw login --apikey` (also tried with --raw) and put in the exact chars from https://yourdomain.vault.local/#/settings/security/security-keys 4. Become the error message below (also tried with the whitespace from "client_id" from the website. ``` root@75481d729f41:/# bw login --apikey --raw ? client_id: user.XXXXXXXXXXXX ? client_secret: XXXXXXXXXXXXXXXXXXXXX client_id or client_secret is incorrect. Try again. ``` ### Expected Result Successfull login ### Actual Result ``` root@75481d729f41:/# bw login --apikey --raw ? client_id: user.XXXXXXXXXXXX ? client_secret: XXXXXXXXXXXXXXXXXXXXX client_id or client_secret is incorrect. Try again. ``` ### Screenshots or Videos ![image](https://github.com/bitwarden/clients/assets/12643853/277a86d3-71ac-4f3c-8e4c-f620e6501f58) ![image](https://github.com/bitwarden/clients/assets/12643853/eb9bb359-a454-4a8a-b8cd-3f0b80263d85) ### Additional Context _No response_ ### Operating System Linux ### Operating System Version Container - Latest Image ### Shell Bash ### Build Version 2023.10.0 ### Issue Tracking Info - [X] 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.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1379