Azure / Azure/azure-cli

Code should be part of url on device-login

Open
#21,671 20 comments 12 reactions 3 assignees Claimed by @isra-fel View on GitHub
AAD act-identity-squad Auto-Assign feature-request Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Is your feature request related to a problem? Please describe.**

Currently when I do az login

To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code AWSDQQ7J6 to authenticate.

I have to copy and paste or retype that code into the brower.

**Describe the solution you'd like**
Many terminals including windows terminal let you just click links. If the code was a query argument I'd click https://microsoft.com/devicelogin?code=AWSDQQ7J6 and save several mouse motions a day. (our policies require relogin once a day minimum per device).

**Describe alternatives you've considered**
Let az login send a notification to my phone rather than makign me go through the website?

**Additional context**

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.