Last active
December 16, 2015 01:49
-
-
Save chris-pilcher/926d46d8f24e5a1544ac to your computer and use it in GitHub Desktop.
How to fix msauth error when authenticating on iOS9 using Microsoft.IdentityModel.Clients.ActiveDirectory on Xamarin.iOS.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-12-16 13:22:47.319 CompanyUniversaliOS[8461:3186353] -canOpenURL: failed for URL: "msauth://" - error: "This app is not allowed to query for scheme msauth" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Add this to your info.plist file --> | |
<key>LSApplicationQueriesSchemes</key> | |
<array> | |
<string>msauth</string> | |
</array> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>LSApplicationQueriesSchemes</key> | |
<array> | |
<string>msauth</string> | |
</array> | |
<key>UIStatusBarStyle</key> | |
<string>UIStatusBarStyleLightContent</string> | |
<key>CFBundleDisplayName</key> | |
<string>Company.Universal.iOS</string> | |
<key>CFBundleIdentifier</key> | |
<string>com.company.Universal.iOS</string> | |
<key>CFBundleShortVersionString</key> | |
<string>1.0</string> | |
<key>CFBundleVersion</key> | |
<string>1.0</string> | |
<key>LSRequiresIPhoneOS</key> | |
<true/> | |
<key>MinimumOSVersion</key> | |
<string>9.1</string> | |
<key>UIDeviceFamily</key> | |
<array> | |
<integer>1</integer> | |
<integer>2</integer> | |
</array> | |
<key>UIMainStoryboardFile</key> | |
<string>MainStoryboard_iPhone</string> | |
<key>UIMainStoryboardFile~ipad</key> | |
<string>MainStoryboard_iPad</string> | |
<key>UIRequiredDeviceCapabilities</key> | |
<array> | |
<string>armv7</string> | |
</array> | |
<key>UISupportedInterfaceOrientations</key> | |
<array> | |
<string>UIInterfaceOrientationPortrait</string> | |
<string>UIInterfaceOrientationLandscapeLeft</string> | |
<string>UIInterfaceOrientationLandscapeRight</string> | |
</array> | |
<key>UISupportedInterfaceOrientations~ipad</key> | |
<array> | |
<string>UIInterfaceOrientationPortrait</string> | |
<string>UIInterfaceOrientationPortraitUpsideDown</string> | |
<string>UIInterfaceOrientationLandscapeLeft</string> | |
<string>UIInterfaceOrientationLandscapeRight</string> | |
</array> | |
<key>UILaunchStoryboardName</key> | |
<string>LaunchScreen.storyboard</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment