bitwarden / clients

Bitwarden client apps (web, browser extension, desktop, and cli).
https://bitwarden.com
Other
9.39k stars 1.26k forks source link

Invalid API Key; Organization API Key currently not supported #11965

Open hinricht opened 2 weeks ago

hinricht commented 2 weeks ago

Steps To Reproduce

  1. Go to the web interface
  2. Click on Admin consle
  3. Click on Settings
  4. Click on Organization info
  5. Click on View API key
  6. Enter your master password
  7. Note down client_id and clienr_secret
  8. On the command line run bw login --apikey
  9. Enter client_id and clienr_secret

Expected Result

The login should succeed.

Actual Result

The login fails:

$ bw login --apikey
? client_id: organization.1...
? client_secret: ...
Invalid API Key; Organization API Key currently not supported

Screenshots or Videos

No response

Additional Context

No response

Operating System

Linux

Operating System Version

Manjaro sway edition (rolling release, latest patch level)

Shell

Zsh

Build Version

2024.8.0

Issue Tracking Info

bitwarden-bot commented 2 weeks ago

Thank you for reporting this issue! We've added this to our internal tracking system. ID: PM-14848

hinricht commented 2 weeks ago

Our use case is to provision our Bitwarden organization with the Bitwarden Terraform provider. We don't want to tie any personal / account related API keys to the provisioning and therefore want to use the organization API key.

rmcdowell-bitwarden commented 2 weeks ago

Hi there,

Thank you for your report!

I was able to reproduce this issue, and I have flagged this to our engineering team.

If you wish to add any further information/screenshots/recordings etc., please feel free to do so at any time - our engineering team will be happy to review these.

Thanks once again!