az login (redirects to localhost and hits ERR_CONNECTION_REFUSED) #26199
Labels
Account
az login/account
Auto-Assign
Auto assign by bot
Azure CLI Team
The command of the issue is owned by Azure CLI team
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Graph
az ad
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Describe the bug
Similar to other recent issues but slightly different symptoms. I run az login, follow through the interactive login process and the oauth flow redirects me to localhost: where I hit an ERR_CONNECTION_REFUSED.
Using edge browser.
--use-device-code
does work.From the debug logs there is also a link to localhost:?error=abort which I've tested and still hit an ERR_CONNECTION_REFUSED.
It looks to me like
az
is unable to open a connection on localhost: which is leading to this issue. I'm concerned about this as I later tried to runaz ad group list --debug
and hit issues relating to my device not being managed which I've previously never hit so suspect it's a symptom of the same issue.Command Name
az login
Errors:
To Reproduce:
az login --debug
Expected Behavior
Environment Summary
Additional Context
The text was updated successfully, but these errors were encountered: