Skip to content

Commit 94937a2

Browse files
committed
Merge branch 'dev' into mi
2 parents 33f1157 + 053af22 commit 94937a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msal/application.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1340,7 +1340,7 @@ def _acquire_token_silent_by_finding_specific_refresh_token(
13401340
reverse=True):
13411341
logger.debug("Cache attempts an RT")
13421342
headers = telemetry_context.generate_headers()
1343-
if "home_account_id" in query: # Then use it as CCS Routing info
1343+
if query.get("home_account_id"): # Then use it as CCS Routing info
13441344
headers["X-AnchorMailbox"] = "Oid:{}".format( # case-insensitive value
13451345
query["home_account_id"].replace(".", "@"))
13461346
response = client.obtain_token_by_refresh_token(

0 commit comments

Comments
 (0)