Skip to content

Commit 27fbffc

Browse files
committed
Enable public client ROPC via broker. On Windows, ROPC will call WAM; on
macOS, ROPC will call MSAL C++ logic.
1 parent 68a7cb3 commit 27fbffc

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
@@ -1710,7 +1710,7 @@ def acquire_token_by_username_password(
17101710
"""
17111711
claims = _merge_claims_challenge_and_capabilities(
17121712
self._client_capabilities, claims_challenge)
1713-
if False: # Disabled, for now. It was if self._enable_broker:
1713+
if self._enable_broker:
17141714
from .broker import _signin_silently
17151715
response = _signin_silently(
17161716
"https://{}/{}".format(self.authority.instance, self.authority.tenant),

0 commit comments

Comments
 (0)