Skip to content

Commit b5bfaf7

Browse files
committed
Add/update broker integration doc
1 parent b9d9b05 commit b5bfaf7

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/broker-integration.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# macOS broker integration
2+
3+
This doc indicates how to use `msal` to communicate with the brokers on Windows and macOS, which provides more secure authentication and single sign on experiences.
4+
5+
### Manually testing/integration steps
6+
1. If you are on a modern Windows device, broker WAM is already built-in;
7+
If you are on a mac device, install CP (Company Portal), login an account in CP and finish the MDM process.
8+
2. Install MSAL Python from its latest `dev` branch:
9+
`pip install --force-reinstall "git+https://github.com/AzureAD/microsoft-authentication-library-for-python.git[broker]"`
10+
3. (Optional) A proper version of `PyMsalRuntime` has already been installed by the previous command.
11+
But if you want to test a specific version of `PyMsalRuntime`,
12+
you shall manually install that version now.
13+
14+
### Verification msal and pymsalruntime works fine
15+
16+
Please refer to [broker-test.py](https://github.com/AzureAD/microsoft-authentication-library-for-python/blob/dev/tests/broker-test.py) as a sample.
17+
18+
Run `python broker-test.py` which will go through several basic scenarios like pop, ssh-cert and ROPC. Please provide credentials in the broker prompt (for interactive calls) and terminal (for ROPC), monitor whether all the tests pass.

0 commit comments

Comments
 (0)