Skip to content

Commit 8f19601

Browse files
authored
Merge pull request #966 from AzureAD/oldalton/cba_broker_fix
Fix CBA in broker SDK
2 parents 2564f3e + 7cc4603 commit 8f19601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MSAL/src/MSALPublicClientApplication.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ + (void)load
128128
MSIDNotifications.webAuthDidFinishLoadNotificationName = MSALWebAuthDidFinishLoadNotification;
129129
MSIDNotifications.webAuthWillSwitchToBrokerAppNotificationName = MSALWebAuthWillSwitchToBrokerApp;
130130
MSIDNotifications.webAuthDidReceiveResponseFromBrokerNotificationName = MSALWebAuthDidReceiveResponseFromBroker;
131-
#if TARGET_OS_IPHONE
131+
#if TARGET_OS_IPHONE && !AD_BROKER
132132
[MSIDCertAuthHandler setUseAuthSession:YES];
133133
#endif
134134
}

0 commit comments

Comments
 (0)