CLI-3556: confluent cli does not take BROWSER environment variable into account within wsl

オープン
#2,691 コメント 1 件 リアクション 1 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@sgagniere がすでに取り組んでいます。

2024年3月20日 から。

評価

この issue はまだ評価されていません。

説明

bug

I try to run confluent login within wsl and it opens the browser within wsl.
The problem with this is that I cannot login with SSO, because I get an Azure error my device is unmanaged.
For other commands I solved this by setting BROWSER=wslview, but it looks like confluent cli does not take this environment variable into account.

The workaround is to use the --no-browser flag, but it would be still nice if it can be fixed.
My second workaround is removing Firefox within wsl.

主要言語
Go
スター
82
フォーク
37
平均マージ
1日 13時間
マージ済み PR(30日)
22

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

confluentinc/cli のほかの issue

confluentinc/cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。