@@ -1948,8 +1948,6 @@ def __init__(
1948
1948
1949
1949
.. note::
1950
1950
1951
- You may set enable_broker_on_windows and/or enable_broker_on_mac and/or enable_broker_on_linux and/or enable_broker_on_wsl to True.
1952
-
1953
1951
**What is a broker, and why use it?**
1954
1952
1955
1953
A broker is a component installed on your device.
@@ -1967,17 +1965,17 @@ def __init__(
1967
1965
so that your broker-enabled apps (even a CLI)
1968
1966
could automatically SSO from a previously established signed-in session.
1969
1967
1970
- **You shall only enable broker when your app:**
1968
+ **You shall enable broker if your app meets these prerequisites :**
1971
1969
1972
1970
1. is running on supported platforms,
1973
1971
and already registered their corresponding redirect_uri
1974
1972
1975
1973
* ``ms-appx-web://Microsoft.AAD.BrokerPlugin/your_client_id``
1976
- if your app is expected to run on Windows 10+
1974
+ if your app is expected to run on Windows 10+ or WSL
1977
1975
* ``msauth.com.msauth.unsignedapp://auth``
1978
- if your app is expected to run on Mac
1979
- * ``ms-appx-web ://Microsoft.AAD.BrokerPlugin/your_client_id ``
1980
- if your app is expected to run on Linux, especially WSL
1976
+ if your app is expected to run on Mac with Company Portal installed
1977
+ * ``https ://login.microsoftonline.com/common/oauth2/nativeclient ``
1978
+ if your app is expected to run on Linux with Intune installed
1981
1979
1982
1980
2. installed broker dependency,
1983
1981
e.g. ``pip install msal[broker]>=1.33,<2``.
0 commit comments