AzureAD / microsoft-authentication-library-for-python

Microsoft Authentication Library (MSAL) for Python makes it easy to authenticate to Microsoft Entra ID. General docs are available here https://learn.microsoft.com/entra/msal/python/ Stable APIs are documented here https://msal-python.readthedocs.io. Questions can be asked on www.stackoverflow.com with tag "msal" + "python".
https://stackoverflow.com/questions/tagged/azure-ad-msal+python
Other
770 stars 192 forks source link

Prevent concurrent interactive flows listening on same port when running on Windows #427

Closed rayluo closed 2 years ago

rayluo commented 2 years ago

This PR was inspired by @jiasli 's effort in #418. Credit goes to Jiashuo!

This should prevent https://github.com/Azure/azure-cli/issues/10578 after Az CLI migrates to using MSAL Python.

Test cases is also added. MSAL Python's current CI does not use Windows platform, but I have manually tested them on Windows. It works.