Azure / Azure/azure-cli

Trying to auth in lynx and fail.

Open
#21,515 2 comments 0 reactions 1 assignee Claimed by @jiasli View on GitHub
Account act-identity-squad Auto-Assign customer-reported feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Describe the bug**

When lynx or www-browser executable pointing to lynx is available, az login will use it instead of falling back to device code, but the auth page will say lynx doesn't support javascript and jump to Microsoft homepage.

This is a recent (~months) regression.
Same script and workflow worked fine in docker for a long time.

If the website doesn't work for certain browser, maybe have a blacklist for it.

**Environment summary**

Bash on Ubuntu 18.04.6 docker running on CentOS 7 host.

```
azure-cli 2.30.0 *

core 2.30.0 *
telemetry 1.0.6

Extensions:
ml 2.0.3

Python location '/opt/az/bin/python3'
Extensions directory '/root/.azure/cliextensions'

Python (Linux) 3.6.10 (default, Oct 29 2021, 10:11:58)
[GCC 7.5.0]
```

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.