Bug Description
When trying to do interactive login with WSL, you can't login because it can't launch a browser from WSL to obtain token. For some reason, it opens a File Explorer window.
fabric-cli version
1.5.0
Python version
3.10.12
Operating System
Linux
CLI Mode
Command line mode
Authentication Method
Interactive browser login
Steps to Reproduce
open Ubuntu WSL in Windows
run
WSL then opens a file explorer window
Expected Behavior
fab auth login
Press [Enter] to open https://azure.com/device/login and copy 'XXXX-1234' to your clipboard
FAILED: Got to URL manually and enter device code XXXX-1234
Actual Behavior
It opened File Explorer in Windows and sat waiting for a response from the website until I killed the session
Additional Context
na
Possible Solution
I recommend using an approach similar to Azure CLI where you can provide a session code in a browser to authenticate
Bug Description
When trying to do interactive login with WSL, you can't login because it can't launch a browser from WSL to obtain token. For some reason, it opens a File Explorer window.
fabric-cli version
1.5.0
Python version
3.10.12
Operating System
Linux
CLI Mode
Command line mode
Authentication Method
Interactive browser login
Steps to Reproduce
open Ubuntu WSL in Windows
run
WSL then opens a file explorer window
Expected Behavior
Actual Behavior
It opened File Explorer in Windows and sat waiting for a response from the website until I killed the session
Additional Context
na
Possible Solution
I recommend using an approach similar to Azure CLI where you can provide a session code in a browser to authenticate