confluentinc / confluentinc/cli
CLI-3556: confluent cli does not take BROWSER environment variable into account within wsl
Open
bug
- Dominant language
- Go
- Stars
- 80
- Forks
- 35
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 33
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.