2.7.15
- Support iOS broker in combination with UIScene delegates on iOS 13
If you adopted UISceneDelegate, you must also add an ADAL callback into the scene:openURLContexts:
method.
This is needed so that ADAL can get a response from the Microsoft Authenticator application.
For example:
- (void)scene:(UIScene *)scene openURLContexts:(NSSet<UIOpenURLContext *> *)URLContexts
{
UIOpenURLContext *context = URLContexts.anyObject;
NSURL *url = context.URL;
NSString *sourceApplication = context.options.sourceApplication;
[ADAuthenticationContext handleADALResponse:url sourceApplication:sourceApplication];
}
If you're not using UISceneDelegate functionality yet, you can ignore this step.