SHA256
1
0
forked from pool/python-msal

48 Commits

Author SHA256 Message Date
dda85c7989 Accepting request 1190666 from devel:languages:python:azure
- Update to version 1.30.0
  * New feature: Support Subject Name/Issuer authentication when using
    .pfx certificate file. Documentation available in one of the recent
    purple boxes here. (#718)
  * New feature: Automatically use SHA256 and PSS padding when using
    .pfx certificate on non-ADFS, non-OIDC authorities. (#722)
  * New feature: Expose refresh_on (if any) to fresh or cached response,
    so that caller may choose to proactively call acquire_token_silent()
    early. (#723)
  * Bugfix for token cache search. MSAL 1.27+ customers please upgrade
    to MSAL 1.30+. (#717) (forwarded request 1190661 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/1190666
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=23
2024-08-01 20:04:21 +00:00
f31343d598 Accepting request 1190661 from home:glaubitz:branches:devel:languages:python:azure
- Update to version 1.30.0
  * New feature: Support Subject Name/Issuer authentication when using
    .pfx certificate file. Documentation available in one of the recent
    purple boxes here. (#718)
  * New feature: Automatically use SHA256 and PSS padding when using
    .pfx certificate on non-ADFS, non-OIDC authorities. (#722)
  * New feature: Expose refresh_on (if any) to fresh or cached response,
    so that caller may choose to proactively call acquire_token_silent()
    early. (#723)
  * Bugfix for token cache search. MSAL 1.27+ customers please upgrade
    to MSAL 1.30+. (#717)

OBS-URL: https://build.opensuse.org/request/show/1190661
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=45
2024-07-31 13:02:28 +00:00
4a078fb489 Accepting request 1186394 from devel:languages:python:azure
OBS-URL: https://build.opensuse.org/request/show/1186394
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=22
2024-07-09 18:05:48 +00:00
31daf87f03 Accepting request 1186312 from home:glaubitz:branches:devel:languages:python:azure
- Update to version 1.29.0
  * New feature: Supports Managed Identity for Azure VM, App Service
    (including Azure Functions, Azure Automation), Service Fabric,
    Azure Machine Learning, Arc, etc.. Comes with a sample, its
    configuration via ENV VAR, and its API documentation.
    (#58, #480, #634, #674)
  * New feature: Support reading ConfidentialClientApplication's
    cert from a pfx file (#684, #699)
  * New feature: TokenCache class has a new search() method which will
    return a generator of tokens. The old find() method still exists and
    returns a list, but MSAL 1.27+ will not call find() anymore. (#693, #644)
  * Change: Re-enable the username password flow to go through broker,
    if available. (#712)
- from version 1.28.1
  * Change: pip install msal[broker] will now pick up the latest PyMsalRuntime
    0.16.x which contains a bugfix for being run as administrator. This release
    fixes #707.

OBS-URL: https://build.opensuse.org/request/show/1186312
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=43
2024-07-09 12:53:17 +00:00
f85314eeaf Accepting request 1166433 from devel:languages:python:azure
- Update to version 1.28.0
  * New feature: PublicClientApplication and ConfidentialClientApplication
    have a new oidc_authority parameter that can be used to specify authority
    of any generic OpenID Connect authority, typically the customized domain
    for CIAM. (#676, #678)
  * Dropping Python 2.7
- from version 1.27.0
  * New feature: remove_tokens_for_client() will remove tokens acquired
    by acquire_token_for_client() (#640, #650, #666)
  * Performance: Throughput of token-cache-hit happy path is roughly 2x faster (#644)
  * Adjustment: MSAL no longer attempts to validate an ID token's time (#656, #657)
  * Adjustment: Bump upstream broker dependency to 0.14.x
  * Improvement: Better chance to remove accounts from broker (#651)
  * Improvement: Cleaner console output when the http local server
    is visited in https protocol (#546)
  * Improvement: Reduce a bare except clause (#667) (forwarded request 1166290 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/1166433
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=21
2024-04-09 14:48:21 +00:00
1dfc3c0533 Accepting request 1166290 from home:glaubitz:branches:devel:languages:python:azure
- Update to version 1.28.0
  * New feature: PublicClientApplication and ConfidentialClientApplication
    have a new oidc_authority parameter that can be used to specify authority
    of any generic OpenID Connect authority, typically the customized domain
    for CIAM. (#676, #678)
  * Dropping Python 2.7
- from version 1.27.0
  * New feature: remove_tokens_for_client() will remove tokens acquired
    by acquire_token_for_client() (#640, #650, #666)
  * Performance: Throughput of token-cache-hit happy path is roughly 2x faster (#644)
  * Adjustment: MSAL no longer attempts to validate an ID token's time (#656, #657)
  * Adjustment: Bump upstream broker dependency to 0.14.x
  * Improvement: Better chance to remove accounts from broker (#651)
  * Improvement: Cleaner console output when the http local server
    is visited in https protocol (#546)
  * Improvement: Reduce a bare except clause (#667)

OBS-URL: https://build.opensuse.org/request/show/1166290
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=41
2024-04-09 11:57:25 +00:00
d40d8220da Accepting request 1165348 from devel:languages:python:azure
- Switch package to modern Python Stack on SLE-15
  + Use Python 3.11 on SLE-15 by default
  + Add Obsoletes for old python3 package on SLE-15
  + Drop support for older Python versions
- Switch build system from setuptools to pyproject.toml
  + Add python-pip and python-wheel to BuildRequires
  + Replace %python_build with %pyproject_wheel
  + Replace %python_install with %pyproject_install
  + Update name for dist directory in %files section (forwarded request 1164951 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/1165348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=20
2024-04-07 20:38:43 +00:00
52feca7314 Accepting request 1164951 from home:glaubitz:branches:devel:languages:python:azure
- Switch package to modern Python Stack on SLE-15
  + Use Python 3.11 on SLE-15 by default
  + Add Obsoletes for old python3 package on SLE-15
  + Drop support for older Python versions
- Switch build system from setuptools to pyproject.toml
  + Add python-pip and python-wheel to BuildRequires
  + Replace %python_build with %pyproject_wheel
  + Replace %python_install with %pyproject_install
  + Update name for dist directory in %files section

OBS-URL: https://build.opensuse.org/request/show/1164951
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=39
2024-04-04 20:55:29 +00:00
b1c14a34a3 Accepting request 1160068 from devel:languages:python:azure
OBS-URL: https://build.opensuse.org/request/show/1160068
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=19
2024-03-21 16:01:15 +00:00
f57b1c7640 Accepting request 1160060 from home:glaubitz:branches:devel:languages:python:azure
- Limit Python files matched in %files section

OBS-URL: https://build.opensuse.org/request/show/1160060
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=37
2024-03-21 10:20:41 +00:00
83ea163ac4 Accepting request 1136736 from devel:languages:python:azure
OBS-URL: https://build.opensuse.org/request/show/1136736
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=18
2024-01-04 14:59:37 +00:00
9a113e72ac Accepting request 1132097 from home:glaubitz:branches:devel:languages:python:azure
- Update to version 1.26.0
  * Do not auto-detect region if app developer does not opt-in to region (#629, #630)
  * Support Proof-of-Possession (PoP) for Public Client based on broker (#511)

OBS-URL: https://build.opensuse.org/request/show/1132097
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=35
2024-01-04 09:32:18 +00:00
c254ba3019 Accepting request 1128899 from devel:languages:python:azure
- Update to version 1.25.0
  + Deprecation: allow_broker will be replaced by enable_broker_on_windows (#613)
  + Bugfix: Device Code Flow (and Username Password Flow) and its subsequent silent
    request will automatically bypass broker and succeed. (#569)
  + Enhancement: acquire_token_interactive() supports running inside Docker
  + 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) (forwarded request 1128530 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/1128899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=17
2023-11-26 18:38:12 +00:00
49a080d364 Accepting request 1128530 from home:glaubitz:branches:devel:languages:python:azure
- Update to version 1.25.0
  + Deprecation: allow_broker will be replaced by enable_broker_on_windows (#613)
  + Bugfix: Device Code Flow (and Username Password Flow) and its subsequent silent
    request will automatically bypass broker and succeed. (#569)
  + Enhancement: acquire_token_interactive() supports running inside Docker
  + 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)

OBS-URL: https://build.opensuse.org/request/show/1128530
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=33
2023-11-26 12:14:01 +00:00
501516e64d Accepting request 1116468 from devel:languages:python:azure
- Update to version 1.24.1
  + Includes minor adjustments on handling acquire_token_interactive().
    The scope of the issue being addressed was limited to a short-lived
    sign-in attempt. The potential misuse vector complexity was high,
    therefore it is unlikely to be reproduced in standard usage scenarios;
    however, out of abundance of caution, this fix is shipped to align
    ourselves with Microsoft's policy of secure-by-default.
- from version 1.24.0
  + Enhancement: There may be a new msal_telemetry key available in MSAL's
    acquire token response, currently observed when broker is enabled. Its
    content and format are opaque to caller. This telemetry blob allows
    participating apps to collect them via telemetry, and it may help
    future troubleshooting. (#575)
  + Enhancement: A new enable_pii_log parameter is added into ClientApplication
    constructor. When enabled, the broker component may include PII (Personal
    Identifiable Information) in logs. This may help troubleshooting. (#568, #590)
- Remove temporary version override (forwarded request 1116418 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/1116468
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=16
2023-10-13 21:14:01 +00:00
1b313b205f Accepting request 1116418 from home:glaubitz:branches:devel:languages:python:azure
- Update to version 1.24.1
  + Includes minor adjustments on handling acquire_token_interactive().
    The scope of the issue being addressed was limited to a short-lived
    sign-in attempt. The potential misuse vector complexity was high,
    therefore it is unlikely to be reproduced in standard usage scenarios;
    however, out of abundance of caution, this fix is shipped to align
    ourselves with Microsoft's policy of secure-by-default.
- from version 1.24.0
  + Enhancement: There may be a new msal_telemetry key available in MSAL's
    acquire token response, currently observed when broker is enabled. Its
    content and format are opaque to caller. This telemetry blob allows
    participating apps to collect them via telemetry, and it may help
    future troubleshooting. (#575)
  + Enhancement: A new enable_pii_log parameter is added into ClientApplication
    constructor. When enabled, the broker component may include PII (Personal
    Identifiable Information) in logs. This may help troubleshooting. (#568, #590)
- Remove temporary version override

OBS-URL: https://build.opensuse.org/request/show/1116418
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=31
2023-10-09 11:10:48 +00:00
faa68a789f Accepting request 1115566 from home:glaubitz:branches:devel:languages:python:azure
- Update to version 1.24.0b2
  + Experimental: Building on top of 1.24.0b1 and includes
    some adjustment on handling acquire_token_interactive().

OBS-URL: https://build.opensuse.org/request/show/1115566
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=30
2023-10-04 10:16:47 +00:00
d415c2e533 Accepting request 1103887 from devel:languages:python:azure
- Update to version 1.24.0b1
  + Experimental: Surface MSAL telemetry as a long opaque string (#575).
    This behavior is useful if your app has your own telemetry mechanism
    and wants to also collect MSAL's telemetry.
- from version 1.23.0
  + acquire_token_for_client() will automatically look up tokens from cache (#577)
- Override upstream version with 1.24.0~b1 (forwarded request 1103883 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/1103887
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=15
2023-08-14 20:36:11 +00:00
8e5403779c Accepting request 1103883 from home:glaubitz:branches:devel:languages:python:azure
- Update to version 1.24.0b1
  + Experimental: Surface MSAL telemetry as a long opaque string (#575).
    This behavior is useful if your app has your own telemetry mechanism
    and wants to also collect MSAL's telemetry.
- from version 1.23.0
  + acquire_token_for_client() will automatically look up tokens from cache (#577)
- Override upstream version with 1.24.0~b1

OBS-URL: https://build.opensuse.org/request/show/1103883
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=28
2023-08-14 13:44:30 +00:00
9c02ea00a4 Accepting request 1080298 from devel:languages:python:azure
- Update to version 1.22.0
  + New feature: Support CIAM authorities in the
    form of "tenant.ciamlogin.com/*" (#520) (forwarded request 1080273 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/1080298
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=14
2023-04-19 15:44:45 +00:00
baebd22677 Accepting request 1080273 from home:glaubitz:branches:devel:languages:python:azure
- Update to version 1.22.0
  + New feature: Support CIAM authorities in the
    form of "tenant.ciamlogin.com/*" (#520)

OBS-URL: https://build.opensuse.org/request/show/1080273
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=26
2023-04-19 11:20:57 +00:00
90f1690064 Accepting request 1063879 from devel:languages:python:azure
- Update to version 1.21.0
  + Support getting an ssh certificate via broker (#515)
  + Support B2C's usage pattern of using client id as a scope (#505, #530)
  + MSAL's token cache helper can now be used to store tokens returned
    by App Service's Managed Identity (#519)
  + Switch to a new set of regional endpoints (#513)
  + Test matrix covers Python 3.11 (#512) (forwarded request 1063813 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/1063879
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=13
2023-02-09 15:22:26 +00:00
266dc73831 Accepting request 1063813 from home:glaubitz:branches:devel:languages:python:azure
- Update to version 1.21.0
  + Support getting an ssh certificate via broker (#515)
  + Support B2C's usage pattern of using client id as a scope (#505, #530)
  + MSAL's token cache helper can now be used to store tokens returned
    by App Service's Managed Identity (#519)
  + Switch to a new set of regional endpoints (#513)
  + Test matrix covers Python 3.11 (#512)

OBS-URL: https://build.opensuse.org/request/show/1063813
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=24
2023-02-08 16:47:49 +00:00
5520309a82 Accepting request 1010483 from devel:languages:python:azure
- Update to version 1.20.0
  + New feature: If your app uses MSAL's acquire_token_interactive(), you can
    now opt in to use broker on Windows platform to achieve Single-Sign-On (SSO)
    and also obtain more secure tokens, all without switching the log-in experience
    to a browser. See details in this online doc, and try it out from this sample.
    (#451, #415)
- from version 1.19.0
  + New feature: A new ClientApplication(..., instance_discovery=False) parameter
    to turn off MSAL's Instance Discovery behavior. See more details in its full
    documentation. Also, ADFS authority will no longer trigger Instance Discovery. (#496)
  + Enhancement: Use provided authority port when building the tenant discovery endpoint (#484)
  + Bugfix: Fix a regression in regional endpoint which affects MSAL Python 1.14+ (#485)
  + Enhancement: Tolerate home_account_id to be None
- from version 1.18.0
  + New feature: Optional initiate_auth_code_flow(..., response_mode="form_post")
    to allow the auth code being delivered to your app by form post, which is
    considered even more secure. (#396, #469)
  + New feature: acquire_token_interactive(..., prompt="none") can obtain some
    tokens from within Cloud Shell, without any prompt. (#420) (forwarded request 1010424 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/1010483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=12
2022-10-14 13:42:04 +00:00
3faf82ca86 Accepting request 1010424 from home:glaubitz:branches:devel:languages:python:azure
- Update to version 1.20.0
  + New feature: If your app uses MSAL's acquire_token_interactive(), you can
    now opt in to use broker on Windows platform to achieve Single-Sign-On (SSO)
    and also obtain more secure tokens, all without switching the log-in experience
    to a browser. See details in this online doc, and try it out from this sample.
    (#451, #415)
- from version 1.19.0
  + New feature: A new ClientApplication(..., instance_discovery=False) parameter
    to turn off MSAL's Instance Discovery behavior. See more details in its full
    documentation. Also, ADFS authority will no longer trigger Instance Discovery. (#496)
  + Enhancement: Use provided authority port when building the tenant discovery endpoint (#484)
  + Bugfix: Fix a regression in regional endpoint which affects MSAL Python 1.14+ (#485)
  + Enhancement: Tolerate home_account_id to be None
- from version 1.18.0
  + New feature: Optional initiate_auth_code_flow(..., response_mode="form_post")
    to allow the auth code being delivered to your app by form post, which is
    considered even more secure. (#396, #469)
  + New feature: acquire_token_interactive(..., prompt="none") can obtain some
    tokens from within Cloud Shell, without any prompt. (#420)

OBS-URL: https://build.opensuse.org/request/show/1010424
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=22
2022-10-13 09:21:43 +00:00
e29647d2b4 Accepting request 978942 from devel:languages:python:azure
- Update to version 1.18.0b1
  + New feature: Optional initiate_auth_code_flow(..., response_mode="form_post")
    to allow the auth code being delivered to your app by form post, which is
    considered even more secure. (#396, #469)
  + New feature: acquire_token_interactive(..., prompt="none") can obtain some
    tokens from within Cloud Shell, without any prompt. (#420) (forwarded request 978928 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/978942
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=11
2022-05-24 18:31:49 +00:00
4147e5575b Accepting request 978928 from home:glaubitz:branches:devel:languages:python:azure
- Update to version 1.18.0b1
  + New feature: Optional initiate_auth_code_flow(..., response_mode="form_post")
    to allow the auth code being delivered to your app by form post, which is
    considered even more secure. (#396, #469)
  + New feature: acquire_token_interactive(..., prompt="none") can obtain some
    tokens from within Cloud Shell, without any prompt. (#420)

OBS-URL: https://build.opensuse.org/request/show/978928
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=20
2022-05-24 11:14:35 +00:00
de6c111b25 Accepting request 967340 from devel:languages:python:azure
- Update to version 1.17.0
  + New: Define some Cloud Instance constants and the usage
    pattern of using them (#221, #433)
  + Enhancement: Lazy-load dependencies so that the start-up
    and run time will usually be faster. (#423, #454)
  + Enhancement: Bubble up token refresh exceptions (#431, #434)
  + Enhancement: Documents a simpler http_cache usage pattern (#439)
  + Enhancement: Expose authority discovery error for troubleshooting (#443)
  + Enhancement: Actionable exception message when local machine
    time error is detected (#446, #449, #453)
  + Enhancement: Actionable exception message when username
    password flow encounters errors with ADFS (#456, #458) (forwarded request 967331 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/967340
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=10
2022-04-06 19:52:12 +00:00
22e40ac1bd Accepting request 967331 from home:glaubitz:branches:devel:languages:python:azure
- Update to version 1.17.0
  + New: Define some Cloud Instance constants and the usage
    pattern of using them (#221, #433)
  + Enhancement: Lazy-load dependencies so that the start-up
    and run time will usually be faster. (#423, #454)
  + Enhancement: Bubble up token refresh exceptions (#431, #434)
  + Enhancement: Documents a simpler http_cache usage pattern (#439)
  + Enhancement: Expose authority discovery error for troubleshooting (#443)
  + Enhancement: Actionable exception message when local machine
    time error is detected (#446, #449, #453)
  + Enhancement: Actionable exception message when username
    password flow encounters errors with ADFS (#456, #458)

OBS-URL: https://build.opensuse.org/request/show/967331
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=18
2022-04-06 14:08:52 +00:00
1aaf5328d0 Accepting request 930470 from devel:languages:python:azure
OBS-URL: https://build.opensuse.org/request/show/930470
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=9
2021-11-09 22:55:00 +00:00
c7068d37c6 Accepting request 928758 from home:glaubitz:branches:devel:languages:python:azure
- Update to version 1.16.0
  + New feature: Introducing a new http_cache parameter, whose documentation
    is available by searching http_cache (dict) from our API Reference Doc
    (Implementation #407). If an app utilizes this feature, it will also
    address #80 & #334.
  + Improvement: Prevent concurrent interactive flows listening on same port
    when running on Windows (#427)
  + Improvement: Detecting Regional Endpoint from env var. Also ensure the
    entire regional endpoint behavior needs to opt in. (#425)
- from version 1.15.0
  + New feature: Now both initiate_auth_code_flow() and acquire_token_interactive()
    accept a new optional parameter max_age which is the allowable elapsed time
    in seconds since the last time the End-User was actively authenticated. If
    the elapsed time is greater than this value, Microsoft identity platform
    will actively re-authenticate the End-User. (#381, #389)
  + Improvement: MSAL will now automatically utilize a backup authentication
    system, to provide better resiliency. (#376, #395, #409)
  + Improvement: Previously, acquire_token_interactive() was not able to be aborted
    by CTRL+C when running on Windows. It is now fixed. (#393, #404)
  + Bugfix: The http cache feature shipped in #379 came with an unexpected side
    effect to slow down the Device Code Flow. Now fixed. (#408, #410)
  + Change: Adopting cryptography 35.0.0 (#414)
- from version 1.14.0
  UPDATE: There was a bug in this version, being fixed in subsequent
          1.15.0. We recommend everyone to upgrade to msal>=1.15.0,<2.
  There is no API-level change in this MSAL release. So, all existing
  apps do not need any code changes. Just upgrade, and your app will
  gain the following behaviors.
  + Behavior Change: By default, MSAL Python will launch Edge browser when
    running on Linux, when Edge is installed on current desktop. (#388)

OBS-URL: https://build.opensuse.org/request/show/928758
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=17
2021-11-09 13:58:23 +00:00
ee280f3534 Accepting request 903198 from devel:languages:python:azure
OBS-URL: https://build.opensuse.org/request/show/903198
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=8
2021-07-01 05:05:40 +00:00
e170ea84f3 Accepting request 903080 from home:glaubitz:branches:devel:languages:python:azure
- Update to version 1.12.0
  + 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)
- from version 1.11.0
  + 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)

OBS-URL: https://build.opensuse.org/request/show/903080
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=16
2021-06-30 09:24:25 +00:00
e73e0801ed Accepting request 881988 from devel:languages:python:azure
- Update to version 1.10.0
  + 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)
- from version 1.9.0
  + 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. (forwarded request 881908 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/881988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=7
2021-04-12 13:49:31 +00:00
74114ba9d6 Accepting request 881908 from home:glaubitz:branches:devel:languages:python:azure
- Update to version 1.10.0
  + 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)
- from version 1.9.0
  + 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.

OBS-URL: https://build.opensuse.org/request/show/881908
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=14
2021-03-29 13:43:11 +00:00
e44fb91dd3 Accepting request 862398 from devel:languages:python:azure
- Update to version 1.8.0
  + 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)
- from version 1.7.0
  + New feature: A new initiate_auth_code_flow() &amp; 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 previous
    get_authorization_request_url() and acquire_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) (forwarded request 862389 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/862398
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=6
2021-01-22 20:50:48 +00:00
d9b127f4d6 Accepting request 862389 from home:glaubitz:branches:devel:languages:python:azure
- Update to version 1.8.0
  + 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)
- from version 1.7.0
  + 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 previous
    get_authorization_request_url() and acquire_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)

OBS-URL: https://build.opensuse.org/request/show/862389
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=12
2021-01-11 16:12:25 +00:00
50d7037a22 Accepting request 854017 from devel:languages:python:azure
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/854017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=5
2020-12-09 21:21:23 +00:00
4bb1f84423 - Python 3 build only for 15 and greater distros
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=10
2020-11-30 12:51:52 +00:00
1d04011439 Accepting request 848336 from devel:languages:python:azure
OBS-URL: https://build.opensuse.org/request/show/848336
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=4
2020-11-13 17:59:14 +00:00
da5b145fe3 Accepting request 848335 from home:glaubitz:branches:devel:languages:python:azure
- Update to version 1.6.0
  + 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)
- from version 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)
- Update Requires from setup.py

OBS-URL: https://build.opensuse.org/request/show/848335
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=8
2020-11-13 12:18:12 +00:00
57878d402a Accepting request 833121 from devel:languages:python:azure
- Update to version 1.5.0
  + 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) (forwarded request 833099 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/833121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=3
2020-10-02 15:27:23 +00:00
5b5e53cd2c Accepting request 833099 from home:glaubitz:branches:devel:languages:python:azure
- Update to version 1.5.0
  + 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)

OBS-URL: https://build.opensuse.org/request/show/833099
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=6
2020-09-08 20:55:39 +00:00
0554d80382 Accepting request 830775 from home:glaubitz:branches:devel:languages:python:azure
- Update to version 1.4.3
  + Bugfix: A side effect in previous release prevented reading some
    tokens from a different authority alias (#235, #236)
- from version 1.4.2
  + Bugfix: Changed case of messageID in WS-Trust Requests (#228 , #230 )
  + Bugfix: Removed content-type header sent in request to Mex endpoint (#226 , #227 )
  + Bugfix: Bypasses cache lookup for authority alias if no refresh token found (#223, #225 )
- from version 1.4.1
  + Reverts Application Initializer will not send network requests
    introduced in MSAL Python 1.4.0 (#205, #216, #187)
- from version 1.4.0
  + Enhancement: Application initializer will not send network requests. (#205, #187)
  + Enhancement: Improved handling of errors in ADAL to MSAL token migration scenario. (#209, #208)
  + Added changelog in PYPI (#203, #202)
  + Other readme and reference docs adjustments (#200, #197)

OBS-URL: https://build.opensuse.org/request/show/830775
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=5
2020-08-31 18:06:18 +00:00
d4ba39ad04 Accepting request 815262 from devel:languages:python:azure
OBS-URL: https://build.opensuse.org/request/show/815262
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=2
2020-06-17 12:50:58 +00:00
80034c1a3b Accepting request 815251 from home:glaubitz:branches:devel:languages:python:azure
- Update to version 1.3.0
  + New feature: class ```ClientApplication``` accepts a new optional parameter
    ```http_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
    parameter ```domain_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.
- from version 1.2.0
  + New ```nonce``` parameter is provided in ```both get_authorization_request_url(..., nonce=...)```
    and ```acquire_token_by_authorization_code(..., nonce=...)``` method, so
    that you can use them to mitigate replay attacks, per OIDC specs. (#128, #173).
- from version 1.1.0
    + New ```acquire_token_silent_with_error(...)``` method to expose conditional
      access error classifications (#143, closes #57).
    + App developers can opt in to provide their app's name and version for Microsoft
      Telemetry, so that we can understand your usage pattern and serve you better.
      (#136 closes #130)
    + Internally,
      * Collect anonymous telemetry data to help us improve MSAL Python (#103)
      * Test cases cover ADFS 2019 on-premise scenarios (#142, closes #132)
      * Switched to our latest lab apis for better test infrastructure (#108, #133, #134, #135)

OBS-URL: https://build.opensuse.org/request/show/815251
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=3
2020-06-16 13:26:18 +00:00
eac345543b Accepting request 775192 from devel:languages:python:azure
- New Python Azure SDK component package

OBS-URL: https://build.opensuse.org/request/show/775192
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-msal?expand=0&rev=1
2020-02-28 14:19:57 +00:00
768ceda7d6 Accepting request 775142 from home:glaubitz:branches:devel:languages:python:azure
- New Python dependency required for Azure SDK

OBS-URL: https://build.opensuse.org/request/show/775142
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msal?expand=0&rev=1
2020-02-18 13:02:11 +00:00