Skip to content
  • 1.12.0
  • e6f9d8f
  • Compare
    Choose a tag to compare
    Search for a tag
  • 1.12.0
  • e6f9d8f
  • Compare
    Choose a tag to compare
    Search for a tag

@rayluo rayluo released this May 19, 2021

  • New feature: MSAL Python supports ConfidentialClientApplication(..., azure_region=...). If your app is deployed in Azure, you can use this new feature to pin a region. (#295, #358)
  • New feature: Historically MSAL Python attempts to acquire a Refresh Token (RT) by default. Since this version, MSAL Python supports ConfidentialClientApplication(..., excluse_scopes=["offline_access"]) to opt out of RT (#207, #361)
  • Improvement: acquire_token_interactive(...) can also trigger browser when running inside WSL (8d86917)
  • Adjustment: get_accounts(...) would automatically combine equivalent accounts, so that your account selector widget could be easier to use (#349)
  • Document: MSAL Python has long been accepting acquire_token_interactive(..., prompt="create"), now we officially documented it. (#356, #360)
Assets 2
  • 1.11.0
  • 928d4ea
  • Compare
    Choose a tag to compare
    Search for a tag
  • 1.11.0
  • 928d4ea
  • Compare
    Choose a tag to compare
    Search for a tag

@rayluo rayluo released this Apr 9, 2021

  • Enhancement: ConfidentialClientApplication also supports acquire_token_by_username_password() now. (#294, #344)
  • Enhancement: PublicClientApplication's acquire_token_interactive() also supports WSL Ubuntu 18.04 (#332, #333)
  • Enhancement: Enable a retry once behavior on connection error. (But this is only available from the default http client. If your app supplies your customized http_client via MSAL constructors, it is your http_client's job to decide whether retry.) (#326)
  • Enhancement: MSAL improves the internal telemetry mechanism. (#137, #175, #329, #345)
  • Bugfix: Better compatibility on handling SAML token when using acquire_token_by_username_password() with ADFS. (#336)
Assets 2
  • 1.10.0
  • 3b9b6aa
  • Compare
    Choose a tag to compare
    Search for a tag
  • 1.10.0
  • 3b9b6aa
  • Compare
    Choose a tag to compare
    Search for a tag

@rayluo rayluo released this Mar 8, 2021

  • Enhancement: Proactive access token (AT) refreshing. Previously, an AT is either valid or expired. If an AT expires and your network happens to have a glitch, your app wouldn't be able to auth. Now, MSAL Python attempts to refresh some AT (typically long-lived AT) half way towards their expiration, and silently ignores the error and retries next time, so that your app would be more resilient. All these happen automatically, without any code change to your app. (#176, #312, #320)
  • Adjustment: MSAL Python will keep RT in token cache even when its usage encounters an "invalid_grant" error, so that the RT would likely still be used by other requests. (#314, #315)
Assets 2
  • 1.9.0
  • 72a7250
  • Compare
    Choose a tag to compare
    Search for a tag
  • 1.9.0
  • 72a7250
  • Compare
    Choose a tag to compare
    Search for a tag

@rayluo rayluo released this Feb 9, 2021

  • Enhancement: Starting from this version, MSAL will be compatible with both PyJWT 1.x and PyJWT 2.x (#293, #296)
  • Enhancement: Better support for upcoming Azure CLI's SSH extension (#300, #298)
  • Enhancement: Better deprecation message for get_authorization_request_url() and acquire_token_by_authorization_code(). (#301, #303)
  • Enhancement: Better exception message when using incorrect case in client_id. (#304, #307)
  • Other improvements.
Assets 2
  • 1.8.0
  • 82f9f0c
  • Compare
    Choose a tag to compare
    Search for a tag
  • 1.8.0
  • 82f9f0c
  • Compare
    Choose a tag to compare
    Search for a tag

@rayluo rayluo released this Dec 16, 2020

  • New feature: A new extra_scopes_to_consent parameter is introduced to the acquire_token_interactive(...) API (#212, #286)
  • Adjustment to previous version 1.7.0: Lazy import webbrowser module only when necessary (#287, #288)
Assets 2
  • 1.7.0
  • 7a7d93b
  • Compare
    Choose a tag to compare
    Search for a tag
  • 1.7.0
  • 7a7d93b
  • Compare
    Choose a tag to compare
    Search for a tag

@rayluo rayluo released this Dec 7, 2020

Assets 2
  • 1.6.0
  • 1b09a45
  • Compare
    Choose a tag to compare
    Search for a tag
  • 1.6.0
  • 1b09a45
  • Compare
    Choose a tag to compare
    Search for a tag

@rayluo rayluo released this Nov 2, 2020

  • New Feature: ConfidentialClientApplication accepts private key encrypted by a passphrase. (#232, #270)
  • Enhancement: Provides different exception and messages while encountering transient error during tenant discovery (#263, #269)
Assets 2
  • 1.5.1
  • 410635e
  • Compare
    Choose a tag to compare
    Search for a tag
  • 1.5.1
  • 410635e
  • Compare
    Choose a tag to compare
    Search for a tag

@rayluo rayluo released this Oct 21, 2020

  • 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)
Assets 2
  • 1.5.0
  • c0375cf
  • Compare
    Choose a tag to compare
    Search for a tag
  • 1.5.0
  • c0375cf
  • Compare
    Choose a tag to compare
    Search for a tag

@abhidnya13 abhidnya13 released this Sep 3, 2020

  • Added support for setting client capabilities to enable CAE(Continuous Access Evaluation) (#240, #174)
  • Device code endpoint is now fetched from open-id configuration, if available. (#245, #242)
  • Fixes in test cases (#239, #211)
Assets 2
  • 1.4.3
  • f285074
  • Compare
    Choose a tag to compare
    Search for a tag
  • 1.4.3
  • f285074
  • Compare
    Choose a tag to compare
    Search for a tag

@rayluo rayluo released this Jul 25, 2020

  • Bugfix: A side effect in previous release prevented reading some tokens from a different authority alias (#235, #236)
Assets 2