Skip to content

Commit

Permalink
parent_window_handle is also needed on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
rayluo committed Aug 30, 2024
1 parent 95336a4 commit 828b419
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions msal/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -2047,13 +2047,10 @@ def acquire_token_interactive(
* If your app opts in to use broker,
``parent_window_handle`` is required.
- If your app is a GUI app running on modern Windows system,
- If your app is a GUI app running on Windows or Mac system,
you are required to also provide its window handle,
so that the sign-in window will pop up on top of your window.
- If your app is a console app running on Windows system,
you can use a placeholder
``PublicClientApplication.CONSOLE_WINDOW_HANDLE``.
- If your app is running on Mac,
- If your app is a console app running on Windows or Mac system,
you can use a placeholder
``PublicClientApplication.CONSOLE_WINDOW_HANDLE``.
Expand Down

0 comments on commit 828b419

Please sign in to comment.