Allow modifying port for interactive login: `az login ... --port 1234`
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Related command**
```sh
az login
```
**Is your feature request related to a problem? Please describe.**
When you use VSCode remote development extension, it is not able to detect Azure CLI port and automatically forward it when `az login` is used with interactive login (even though it's able to intercept the xdg calls and open the browser tab to login). This means I have to manully copy the callback port and forward it every time I have to login which is a pain when you have many accounts.
**Describe the solution you'd like**
To solve this there could be a configuration option which would let us set a static port and we could then pre-forward it in the VSCode settings. GG EZ.
**Describe alternatives you've considered**
Well, I could open a feature request to VSCode to actually detect the dynamic port from the az cli commands, but I think this solution is much simpler and easier to implement.
**Additional context**
N/A
Contributor guide
Assessment
This issue has not been assessed yet.