Fix login with Intune using the Authenticator app (#9349)

This commit is contained in:
Elias Nahum 2025-12-12 13:24:03 +02:00 committed by GitHub
parent 3ee8afb808
commit 23fec945a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -168,10 +168,18 @@ NSString* const NOTIFICATION_TEST_ACTION = @"test";
// Required for deeplinking
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options{
// Handle MSAL URLs first before passing to RCTLinkingManager
if ([self handleMSALURL:url]) {
return YES;
}
return [RCTLinkingManager application:application openURL:url options:options];
}
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation {
// Handle MSAL URLs first before passing to RCTLinkingManager
if ([self handleMSALURL:url]) {
return YES;
}
return [RCTLinkingManager application:application openURL:url sourceApplication:sourceApplication annotation:annotation];
}