Skip to content

Commit 3d3c6c8

Browse files
committed
Add token_type into PyMsalRuntime's token response
1 parent 457f20b commit 3d3c6c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

msal/broker.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ def _convert_result(result, client_id): # Mimic an on-the-wire response from AA
8888
"id_token_claims": id_token_claims,
8989
"client_info": account.get_client_info(),
9090
"_account_id": account.get_account_id(),
91+
"token_type": "Bearer", # Hardcoded, for now. It is unavailable from broker.
9192
}.items() if v}
9293
granted_scopes = result.get_granted_scopes() # New in pymsalruntime 0.3.x
9394
if granted_scopes:

0 commit comments

Comments
 (0)