Releases: AzureAD/microsoft-authentication-library-for-python
Releases · AzureAD/microsoft-authentication-library-for-python
MSAL Python 1.8.0
MSAL Python 1.7.0
This version contains a bugfix. We recommend all customers to upgrade to this version and upwards. msal>=1.7.0,<2
.
- New feature: A new
initiate_auth_code_flow()
&acquire_token_by_auth_code_flow()
API, which automatically provides PKCE protection for you (#276, #255). (You are recommended to use these 2 new APIs to replace the previousget_authorization_request_url()
andacquire_token_by_authorization_code()
.) - New feature: A new
acquire_token_interactive()
(#138, #260, #282), comes with a sample (#283) - Bugfix: Now MSAL Python can properly access those Refresh Tokens which were keyed slightly differently by different apps. (#279, #280)
MSAL Python 1.6.0
MSAL Python 1.5.1
- Bugfix: We now cache tokens by specified environment, not by OIDC Discovery. This won't matter most of the time, but it can be needed when your tenant is in transitional state while migrating to a different cloud. (#247)
- Bugfix: We now make sure one app's sign-out operation would be successful even when another app is acquiring token from cache at the same time. (#258, #262)
MSAL Python 1.5.0
MSAL Python 1.4.3
MSAL Python 1.4.2
MSAL Python 1.4.1
MSAL Python 1.4.0
MSAL Python 1.3.0
-
New feature: class
ClientApplication
accepts a new optional parameterhttp_client
. You can provide your own HTTP client to have different behavior. (#169)
Please refer to API Reference doc. -
New feature: method
get_authorization_request_url()
accepts a new optional parameterdomain_hint
. (#158, #181)
Please refer to API Reference doc. -
New feature: A new method
acquire_token_by_refresh_token()
to help migrating refresh tokens from elsewhere to MSAL Python. (#193)
Its usage is demonstrated in this sample.