confluentinc / confluentinc/cli

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

Open
#2,691 1 comment 1 reaction 1 assignee Claimed by @sgagniere View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.