mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-27 19:56:57 +02:00
AuthFallback: Stay in Riot App
When doing a SAML based SSO via Gsuite, I must click a link specifying that I trust this app. That link will break me out of the SSO sign-in process, and open up safari. To fix address this, I've removed the feature that opens links in safari. Signed-off-by: Mark Schulte <schultetwin@gmail.com>
This commit is contained in:
@@ -203,14 +203,6 @@ NSString *FallBackViewControllerJavascriptOnLogin = @"window.matrixLogin.onLogin
|
||||
return;
|
||||
}
|
||||
|
||||
if (navigationAction.navigationType == WKNavigationTypeLinkActivated)
|
||||
{
|
||||
// Open links outside the app
|
||||
[[UIApplication sharedApplication] openURL:navigationAction.request.URL options:@{} completionHandler:nil];
|
||||
decisionHandler(WKNavigationActionPolicyCancel);
|
||||
return;
|
||||
}
|
||||
|
||||
decisionHandler(WKNavigationActionPolicyAllow);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user