[FEATURE] Add a fixed callback port for browser authentication
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 52/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- python
調査の方向性
まず、auth login パーサーとコマンドをコア認証実装までたどって確認します。issue に記載されている既存のエラーハンドリング、ドキュメント、テスト、Changie エントリを確認します。redirect-port の動作とバリデーションが、デフォルトの login または silent-cache の動作を変更せずに機能すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Use Case / Problem
Interactive browser authentication currently lets MSAL choose an ephemeral localhost callback port. When Fabric CLI runs on a remote machine over SSH, users cannot reliably preconfigure port forwarding between the local browser and the remote callback listener.
Proposed Solution
Add fab auth login --redirect-port <port> for interactive user authentication.
Expected behavior:
- Accept ports 1 through 65535.
- Skip authentication-method selection and use browser authentication when interaction is required.
- Pass the fixed port to MSAL's local callback listener.
- Temporarily disable Windows/macOS authentication brokers so MSAL honors the port.
- Reject combinations with Azure CLI, managed identity, and service-principal options.
- Return an actionable error when the port cannot be bound.
- Preserve existing silent-cache behavior and all default login behavior when omitted.
Remote usage:
ssh -o ExitOnForwardFailure=yes -L 8400:127.0.0.1:8400 user@remote
BROWSER=echo fab auth login --redirect-port 8400
Alternatives Considered
- Device-code authentication: useful for headless environments but does not provide the same browser callback flow and is tracked separately in #215.
- Relying on an ephemeral port: cannot be forwarded predictably before login.
- Preflight-binding the port: introduces a race; the implementation should let MSAL perform the real bind.
Impact Assessment
- This would help me personally
- This would help my team/organization
- This would help the broader fabric-cli community
Implementation Attestation
- I understand this feature should maintain backward compatibility with existing commands
- I confirm this feature request does not introduce performance regressions for existing workflows
- I acknowledge that new features must follow fabric-cli's established patterns and conventions
Implementation Notes
I have a tested implementation ready in my fork and would like maintainer acknowledgment before opening the PR, per the contribution guide. Please add the help wanted label if the team accepts this contribution. The implementation includes parser, command, core auth, error handling, documentation, tests, and a Changie entry.
- 主要言語
- Python
- スター
- 173
- フォーク
- 65
- 平均マージ
- 7日 21時間
- マージ済み PR(30日)
- 3
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/fabric-cli のほかの issue
-
[FEATURE] Loosen strict dependency pins to improve compatibility with newer `fabric-cicd` versions再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンai:feature-triage:unable-to-process enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
microsoft/fabric-cli#294 · コメント 1 件 · リアクション 1 件 ·
-
[BUG] bulk-export errors with "[NotSupported] Only supported for Lakehouse/Files"再び着手できるかも @rksharma-owg が 35 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンai:bug-triage:unable-to-process bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
microsoft/fabric-cli#287 · コメント 2 件 ·
-
ai:feature-triage:unable-to-process enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
microsoft/fabric-cli#292 · コメント 1 件 ·
-
ai:question-triage:unable-to-process question
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
microsoft/fabric-cli#288 · コメント 1 件 ·
-
ai:feature-triage:unable-to-process enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
microsoft/fabric-cli#279 · コメント 1 件 ·
microsoft/fabric-cli の issue をすべて見る
似ている issue
-
`lvm_compact` has no self-hosted twin, and `docs/158` §5 says every language-face component mustオープンbug sev-3 vm
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
sierra-research/tau2-bench#635 ·
メンテナーはふだん 1 日以内に返信
-
The add-ssm-model skill requires a Cython simulator; the contributing guide allows Python ones対応中かも @fmuia が今日担当しました。 オープンdocumentation skill
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
lnccbrown/ssm-simulators#406 ·
メンテナーはふだん 4 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
btclib-org/btclib-ecc#309 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
autowarefoundation/autoware_carla_scenario#281 ·
メンテナーはふだん 1 日以内に返信