Description
Describe the bug
When using msal-python to acquire tokens interactively, the stdout/stderr of the launched browser process is not redirected (at least on Linux). This leads to the browser output interfering with the program's stdout for any programming consuming msal-python in this manner.
A similar issue was already opened and resolved for the dotnet equivalent.
AzureAD/microsoft-authentication-library-for-dotnet#2427
To Reproduce
Steps to reproduce the behavior:
- Launch Chrome/Chromium before running anything
- Run interactive_sample.py with Chromium or Google Chrome set as the default browser on Linux. You should not need to modify the sample.
Expected behavior
No prints from the launched browser program should be propogated to the user (unless the user explicitly requests to see them/configures to suppress them).
What you see instead
The output Opening in existing browser session
.
The MSAL Python version you are using
Paste the output of this
python -c "import msal; print(msal.__version__)"
❯ python -c "import msal; print(msal.__version__)"
1.24.1