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".
The automation tests ~currently fail because~ passes:
~the new domain name is unavailable~
~the OIDC discovery endpoint is not available. When it is available, it is expected to also be in the ".../v2.0/..." endpoint.~
~we will continue the prototyping after the above two become available~
~Waiting on new lab api~
~New lab api has been updated to return a new authority~ UPDATE: The lab API has been changed again in #564.
Testers shall take a look into logs to double check your auth/token requests were sent out to https://msidlabciam1.ciamlogin.com/d57fb3d4-4b5a-4144-9328-9c1f7d58179d/oauth2/v2.0/token?dc=ESTS-PUB-EUS-AZ1-FD000-TEST1 which was discovered from OIDC discovery. If an MSAL you are working on does not obtain those endpoints from OIDC discovery, you could probably use https://msidlabciam1.ciamlogin.com/TENANT.ONMICROSOFT.COM/oauth2/v2.0/token?dc=ESTS-PUB-EUS-AZ1-FD000-TEST1 instead.
The automation tests ~currently fail because~ passes:
Testers shall take a look into logs to double check your auth/token requests were sent out to
https://msidlabciam1.ciamlogin.com/d57fb3d4-4b5a-4144-9328-9c1f7d58179d/oauth2/v2.0/token?dc=ESTS-PUB-EUS-AZ1-FD000-TEST1
which was discovered from OIDC discovery. If an MSAL you are working on does not obtain those endpoints from OIDC discovery, you could probably usehttps://msidlabciam1.ciamlogin.com/TENANT.ONMICROSOFT.COM/oauth2/v2.0/token?dc=ESTS-PUB-EUS-AZ1-FD000-TEST1
instead.