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 c3af17e commit 053af22Copy full SHA for 053af22
msal/application.py
@@ -1340,7 +1340,7 @@ def _acquire_token_silent_by_finding_specific_refresh_token(
1340
reverse=True):
1341
logger.debug("Cache attempts an RT")
1342
headers = telemetry_context.generate_headers()
1343
- if "home_account_id" in query: # Then use it as CCS Routing info
+ if query.get("home_account_id"): # Then use it as CCS Routing info
1344
headers["X-AnchorMailbox"] = "Oid:{}".format( # case-insensitive value
1345
query["home_account_id"].replace(".", "@"))
1346
response = client.obtain_token_by_refresh_token(
0 commit comments