Skip to content

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

@michie1

Description

@michie1

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions