Skip to content

Commit 7f6d5a6

Browse files
committed
parent_window_handle is also needed on Mac
1 parent 3630410 commit 7f6d5a6

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

msal/application.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2047,13 +2047,10 @@ def acquire_token_interactive(
20472047
* If your app opts in to use broker,
20482048
``parent_window_handle`` is required.
20492049
2050-
- If your app is a GUI app running on modern Windows system,
2050+
- If your app is a GUI app running on Windows or Mac system,
20512051
you are required to also provide its window handle,
20522052
so that the sign-in window will pop up on top of your window.
2053-
- If your app is a console app running on Windows system,
2054-
you can use a placeholder
2055-
``PublicClientApplication.CONSOLE_WINDOW_HANDLE``.
2056-
- If your app is running on Mac,
2053+
- If your app is a console app running on Windows or Mac system,
20572054
you can use a placeholder
20582055
``PublicClientApplication.CONSOLE_WINDOW_HANDLE``.
20592056

0 commit comments

Comments
 (0)