Skip to content

Swagger of Bitwarden Public API is unable to login due to version_header_missing #20486

@joerg1985

Description

@joerg1985

Steps To Reproduce

The Swagger UI of the Bitwarden Public API does not work, there is no documentation of the mandatory "Bitwarden-Client-Version" header at all.

  1. call https://bitwarden.com/help/api/
  2. click Authorize
  3. enter a valid client_id & client_secret
  4. click Authorize
  5. Auth error Error: response status is 400, error: version_header_missing, description: No client version header found, required to prevent encryption errors. Please confirm your client is supplying the header: "Bitwarden-Client-Version"

Expected Result

Should return a token.

Actual Result

Auth error Error: response status is 400, error: version_header_missing, description: No client version header found, required to prevent encryption errors. Please confirm your client is supplying the header: "Bitwarden-Client-Version"

Screenshots or Videos

No response

Additional Context

No response

Operating System

Windows

Operating System Version

No response

Web Browser

Chrome

Browser Version

No response

Build Version

the current state of the cloud environment

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions