Unable to login into CLI #667

Closed
opened 2025-10-09 16:45:29 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @pthoelken on GitHub.

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 GitHub. ### 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.
Author
Owner

@pthoelken commented on GitHub:

Howly cow ...

bw config server https://yourvault.local.com
I'm so sorry. Solved.

@pthoelken commented on GitHub: Howly cow ... `bw config server https://yourvault.local.com ` I'm so sorry. Solved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#667