Closed jobala closed 3 years ago
I tried this from pwsh. Ran the command and the auth prompt in the browser opened. Ctrl+c didn't cancel the process and I had to manually close the pwsh instance. I take it that you aren't seeing this behavior, you used PowerShell 5 or the command prompt. My main dev machine crashed (not related) on me or else I'd try the other scenarios.
@MIchaelMainer this fails on Windows because azure-identity blocks and waits for a response once it opens the browser. I have created #18533 on the azure-identity repo to track the issue.
@MIchaelMainer based on the response from the thread in the azure-identity repo, I think we should merge this in and document that users should use CTRL+Break instead of CTRL+C on Windows. Let me know what you think.
@MIchaelMainer I have documented this under the wiki's known issues section.
Overview
Add support for killing the CLI process with CTRL+C
Demo
N/A
Notes
N/A
Testing Instructions
mg login --scopes user.read
Fixes #63