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 e8e35ba commit 4a5255cCopy full SHA for 4a5255c
msal/token_cache.py
@@ -116,6 +116,7 @@ def add(self, event):
116
"oid", decoded_id_token.get("sub")),
117
"username": decoded_id_token.get("preferred_username"),
118
"authority_type": "AAD", # Always AAD?
119
+ # "client_info": response.get("client_info"), # Optional
120
}
121
122
if id_token:
@@ -146,9 +147,7 @@ def add(self, event):
146
147
"home_account_id": home_account_id,
148
"environment": environment,
149
"client_id": event.get("client_id"),
- # Fields below are considered optional
150
- "target": target,
151
- "client_info": response.get("client_info"),
+ "target": target, # Optional per schema though
152
153
if "foci" in response:
154
rt["family_id"] = response["foci"]
0 commit comments