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".
MSAL supports reading a client certificate from a PFX file
Bumped dependency library cryptography version for the new API we start to use. Also updated test case to guard against potential removal of those APIs that we made a dependency on.
Updated e2e test case to use cert for the main lab app. All e2e test cases can work. ~We will need to double check when the lab secret officially being removed in May 13, 2024.~ Tested again, it works.
Implemented:
cryptography
version for the new API we start to use. Also updated test case to guard against potential removal of those APIs that we made a dependency on.