Skip to content

az login hangs on WSL #14473

@gxtaillon

Description

@gxtaillon

Describe the bug

Running az login hangs, no output is shown. This is on Debian 10 over WSL on Windows 1809.

Running az login --debug logs the following link, opening manually and logging in works fine.
Open browser with url: https://login.microsoftonline.com/common/oauth2/authorize?....

Command Name
az login

Errors:
None

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • az login

Expected Behavior

The browser opens.

Environment Summary

Linux-4.4.0-17763-Microsoft-x86_64-with-debian-10.4
Python 3.6.10
Installer: DEB

azure-cli 2.9.1

Additional Context

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions