-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Labels
Description
MSAL client type
Public, Confidential
Problem Statement
data has been used for a long time for getting SSH certificates, but it is still not publicly documented and is part of kwargs:
| data = kwargs.pop("data", {}) |
| data = kwargs.get("data", {}) |
Azure CLI currently passes kwargs received by get_token() directly to MSAL. Since SDK is adding more keyword arguments, such as enable_cae (Azure/azure-sdk-for-python#37358), this will cause failure as enable_cae is not recognized by MSAL.
Azure CLI is considering making data an official keyword argument of get_token() so that only known arguments (scopes, claims_challenge, data) are passed to MSAL and kwargs received by get_token() is no longer directly passed to MSAL.
Proposed solution
Move data out of kwargs and make it a public keyword argument.
Reactions are currently unavailable