We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf41a79 commit 4fe352dCopy full SHA for 4fe352d
msal/wam.py
@@ -100,6 +100,12 @@ def _signin_interactively(
100
# the actual redirect_uri will be a value hardcoded by the underlying WAM
101
if prompt:
102
if prompt == "select_account":
103
+ if login_hint:
104
+ # FWIW, AAD's browser interactive flow would honor select_account
105
+ # and ignore login_hint in such a case.
106
+ # But pymsalruntime 0.3.x would pop up a meaningless account picker
107
+ # and then force the account_hint user to re-input password. Not what we want.
108
+ raise ValueError("Using both select_account and login_hint is not supported")
109
params.set_select_account_option(
110
pymsalruntime.SelectAccountOption.SHOWLOCALACCOUNTSCONTROL)
111
else:
0 commit comments