-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@azure/identity: app never exits when using InteractiveBrowserCredential #21726
Comments
@sinedied Thank you for reporting. We were able to reproduce this issue on mac, but works fine on windows. We are investigating into this. |
@sinedied We did some investigation on our end and found that this issue exists on both Mac and linux OS. We do have a workaround for Mac OS but this workaround still doesn't work for linux. We have filed an issue on the open dependency - sindresorhus/open#287 For now we will release the bug fix 2.0.5 so that we can unblock your issue. We will let you know when we release. |
@sinedied We have released the @azure/identity 2.0.5 which solves the issue on Mac OS. Please let us know if that works for you and if you have any questions. |
Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you! |
Sorry for the lag @KarishmaGhiya, I just tested 2.0.5 and it perfectly fixes the issue, thanks! 👍 |
Describe the bug
When authenticating using
InteractiveBrowserCredential
on MacOS and not using cached credentials, the app never exits. I suspect that the local server used to catch the auth callback is never closed. Using any other auth methods works without having the app stuck at the end.From some testing with my colleagues, the problem seems to only occur on MacOS, though I did not get the chance to try it myself on Windows and Linux.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The app exists properly after an interactive browser login.
The text was updated successfully, but these errors were encountered: