I have followed the Azure MSAL iOS integration Tutorial and was able to authenticate myself via WebView (flow without the broker). When I try to run it via the broker, the broker is properly activated and then returns to the test app, but the result is the following error:
Could not acquire token: Error Domain=MSALErrorDomain Code=-50000 "(null)" UserInfo={MSALErrorDescriptionKey=application did not receive response from broker., MSALInternalErrorCodeKey=-42700, MSALCorrelationIDKey=9A9A8D0C-BD53-4F72-8E94-D830E55012C5}
The relevant code is here:
applicationContext.acquireToken(with: parameters) { (result, error) in
if let error = error { // the error is printed above
self.updateLogging(text: "Could not acquire token: \(error)")
return
}
Environment:
- My iOS version is
16.0 - MSAL version is
1.2.3 - Xcode:
14.0 - Authenticator (broker):
6.5.98
