Open jiasli opened 7 months ago
Thank you for opening this issue, we will look into it.
Windows Terminal supports Ctrl+Click to open URLs, so the easiest workaround is to Ctrl+Click the URL shown in the error to open the web browser.
If you are not using Windows Terminal, you may manually copy the URL into a web browser to open it.
I have the same issue. @yonzhan any ideas on how to fix or the root cause? Windows 11, wsl2, Ubuntu 22.04.3 LTS
Same issue using the latest DevBox env. I think the devbox envs setup recently all share the config Win11 WSL2 Ubuntu 22.04.4 LTS as default. So the many developers using devbox may encounter this issue. Do we have any plan fix for this issue? @jiasli @yonzhan Thanks in advance!
This is not an Azure CLI issue. It is recommended to report to https://github.com/microsoft/WSL/issues/8892.
This is not an Azure CLI issue. It is recommended to report to microsoft/WSL#8892.
Thanks! Can be solved by these steps https://github.com/microsoft/WSL/issues/8892#issuecomment-1772972570
Workaround
Windows Terminal supports Ctrl+Click to open URLs, so the easiest workaround is to Ctrl+Click the URL shown in the error to open the web browser.
If you are not using Windows Terminal, you may manually copy the URL into a web browser to open it.
Thanks @jiasli, this workaround "manually copy the URL to web browser" works for me! I'm using WSL and ctrl+click the link can open browser but got "Sorry, but we’re having trouble signing you in. AADSTS90023: Unsupported 'prompt' value."
Remove the :
after select_account
from URL while opening in your browser.
I'm using WSL and ctrl+click the link can open browser but got "Sorry, but we’re having trouble signing you in. AADSTS90023: Unsupported 'prompt' value."
Remove the
:
afterselect_account
from URL while opening in your browser.
This is caused by a recent Windows Terminal bug https://github.com/microsoft/terminal/issues/17495.
Describe the bug
az login
cannot open web browser on WSL2 + Ubuntu 22.04.Upstream issues:
To Reproduce
With
xdg-utils
installed:Without
xdg-utils
installed:Additional context Windows Terminal supports Ctrl+Click to open hyperlinks, so the user can Ctrl+Click the URL shown in the error to open the web browser and the rest steps work as usual.
Some workarounds are provided in https://github.com/microsoft/WSL/issues/8892 such as installing
wslu
.