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".
We got it right in PR #358 based on the specs at that time, but we were using a fragile approach, which caused the "login.microsoft.com" being left out in subsequent PR #394.
We got it right in PR #358 based on the specs at that time, but we were using a fragile approach, which caused the "login.microsoft.com" being left out in subsequent PR #394.
Lesson learned. Explicit is better than implicit