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".
Observability: Successful token response will contain a new token_source field to indicate where the token was obtained from: identity_provider, cache or broker. (#610)
allow_broker
will be replaced byenable_broker_on_windows
(#613)acquire_token_interactive()
supports running inside Dockertoken_source
field to indicate where the token was obtained from:identity_provider
,cache
orbroker
. (#610)