Skip to content

Commit 6190c8d

Browse files
authored
{Auth} Enable PII log for WAM (#28954)
1 parent 9961e15 commit 6190c8d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/azure-cli-core/azure/cli/core/auth/identity.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,9 @@ def _msal_app_kwargs(self):
112112
def _msal_public_app_kwargs(self):
113113
"""kwargs for creating PublicClientApplication."""
114114
# enable_broker_on_windows can only be used on PublicClientApplication.
115-
return {**self._msal_app_kwargs, "enable_broker_on_windows": self._enable_broker_on_windows}
115+
return {**self._msal_app_kwargs,
116+
"enable_broker_on_windows": self._enable_broker_on_windows,
117+
"enable_pii_log": True}
116118

117119
@property
118120
def _msal_app(self):

0 commit comments

Comments
 (0)