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 4d168cf commit 7f15c39Copy full SHA for 7f15c39
msal/application.py
@@ -2241,7 +2241,8 @@ def _acquire_token_interactive_via_broker(
2241
# _signin_silently() only gets tokens for default account,
2242
# but this seems to have been fixed in PyMsalRuntime 0.11.2
2243
"access_token" in response and login_hint
2244
- and response.get("id_token_claims", {}) != login_hint)
+ and login_hint != response.get(
2245
+ "id_token_claims", {}).get("preferred_username"))
2246
wrong_account_error_message = (
2247
'prompt="none" will not work for login_hint="non-default-user"')
2248
if is_wrong_account:
0 commit comments