{
  "slug": "bk-auth-login-device-accepts-org-a3c8459266aa",
  "title": "bk auth login --device accepts --org",
  "tools": [
    "bk"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-09-21T01:13:16.000Z",
  "announced_at": "2026-09-21T01:13:16.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When logging in through device authorization and you want to preselect an organization, run `bk auth login --device --org <organization-slug-or-UUID>`. The organization is a hint; the user can select another available organization before approving.",
    "examples": [
      "bk auth login --device --org <organization-slug-or-UUID>"
    ],
    "gotchas": [
      "Version: v3.57.0",
      "--device: Authenticate using OAuth device authorization instead of opening a browser callback.",
      "--org <organization-slug-or-UUID>: Organization slug or UUID to request access for; used as a preselection hint.",
      "organization: Device authorization request hint for an organization; permits preselection if the signed-in user can authorize it.",
      "organization_uuid: Alternative device authorization request hint using the organization UUID. The docs do not state whether this and `organization` are mutually exclusive or which takes precedence.",
      "Requires additive device authorization endpoint support; older endpoints safely ignore the hint."
    ]
  },
  "why_it_matters": "When logging in to a specific organization through device authorization, pass its slug or UUID as an organization hint.",
  "before": "Before this change, `bk auth login --device` rejected `--org`, so multi-organization users had to select the intended organization manually in the browser.",
  "sources": [
    "https://github.com/buildkite/cli/releases/tag/v3.57.0",
    "https://github.com/buildkite/cli/pull/975",
    "https://buildkite.com/docs/platform/cli/reference/auth",
    "https://buildkite.com/docs/apis/oauth-device-authorization"
  ],
  "rank": 0.9402,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2b-20261017",
    "verdict_id": "wave2b-20261017:wave2b-20261017-a01a8fd35b2ec50e-0:gate",
    "evidence_hash": "42b57b8b82eee2df4e8875bac3cee3e9a156397e097411e5b9acee6609e4f2d0"
  },
  "review": {
    "draft_hash": "84531484635784afa46be2689c1b783904bf76bdd8f6f6fba209674fbfc6dcc3",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2b-20261017:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.94 >= 0.9; 2 needed) and Jev gave 0.72 (>= 0.6 needed)."
  }
}
