Skip to content

Commit 2ff56f7

Browse files
authored
Merge pull request #101722 from ShannonLeavitt/active-directory-scenario-mobile
edit pass: Active directory scenario mobile
2 parents bdd9911 + 3444093 commit 2ff56f7

11 files changed

+517
-454
lines changed
Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Xamarin Android system browser considerations (MSAL.NET) | Azure
33
titleSuffix: Microsoft identity platform
4-
description: Learn about specific considerations when using system browsers on Xamarin Android with Microsoft Authentication Library for .NET (MSAL.NET).
4+
description: Learn about considerations for using system browsers on Xamarin Android with Microsoft Authentication Library for .NET (MSAL.NET).
55
services: active-directory
66
author: mmacy
77
manager: CelesteDG
@@ -14,18 +14,19 @@ ms.date: 10/30/2019
1414
ms.author: marsma
1515
ms.reviewer: saeeda
1616
ms.custom: aaddev
17-
#Customer intent: As an application developer, I want to learn about specific considerations when using Xamarin Android and MSAL.NET so I can decide if this platform meets my application development needs and requirements.
17+
#Customer intent: As an application developer, I want to learn about considerations for using Xamarin Android and MSAL.NET so I can decide if this platform meets my application development needs.
18+
ms.collection: M365-identity-device-management
1819
---
1920

20-
# Xamarin Android system browser considerations with MSAL.NET
21+
# Xamarin Android system browser considerations for using MSAL.NET
2122

22-
This article discusses specific considerations when using the system browser on Xamarin Android with the Microsoft Authentication Library for .NET (MSAL.NET).
23+
This article discusses what you should consider when you use the system browser on Xamarin Android with Microsoft Authentication Library for .NET (MSAL.NET).
2324

24-
Starting with MSAL.NET 2.4.0-preview, MSAL.NET supports browsers other than Chrome and no longer requires Chrome be installed on the Android device for authentication.
25+
Starting with MSAL.NET 2.4.0 Preview, MSAL.NET supports browsers other than Chrome. It no longer requires Chrome be installed on the Android device for authentication.
2526

26-
We recommend you use browsers that support custom tabs, such as these:
27+
We recommend that you use browsers that support custom tabs. Here are some examples of these browsers:
2728

28-
| Browsers with custom tabs support | Package Name |
29+
| Browsers that have custom tabs support | Package name |
2930
|------| ------- |
3031
|Chrome | com.android.chrome|
3132
|Microsoft Edge | com.microsoft.emmx|
@@ -34,39 +35,39 @@ We recommend you use browsers that support custom tabs, such as these:
3435
|Kiwi | com.kiwibrowser.browser|
3536
|Brave | com.brave.browser|
3637

37-
In addition to browsers with custom tabs support, based on our testing, a few browsers that don't support custom tabs will also work for authentication: Opera, Opera Mini, InBrowser, and Maxthon. For more information, read [table for test results](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki/Android-system-browser#devices-and-browsers-tested).
38+
In addition to identifying browsers that offer custom tabs support, our testing indicates that a few browsers that don't support custom tabs also work for authentication. These browsers include Opera, Opera Mini, InBrowser, and Maxthon.
3839

39-
## Known issues
40-
41-
- If the user has no browser enabled on the device, MSAL.NET will throw an `AndroidActivityNotFound` Exception.
42-
- **Mitigation**: Inform the user that they should enable a browser (preferably one with custom tabs support) on their device.
43-
44-
- If authentication fails (ex. authentication launches with DuckDuckGo), MSAL.NET will return an `AuthenticationCanceled MsalClientException`.
45-
- **Root Problem**: A browser with custom tabs support was not enabled on the device. Authentication launched with an alternate browser, which wasn't able to complete authentication.
46-
- **Mitigation**: Inform the user that they should install a browser (preferably one with custom tab support) on their device.
47-
48-
## Devices and browsers tested
49-
The following table lists the devices and browsers that have been tested.
40+
## Tested devices and browsers
41+
The following table lists the devices and browsers that have been tested for authentication compatibility.
5042

51-
| | Browser* | Result |
43+
| Device | Browser | Result |
5244
| ------------- |:-------------:|:-----:|
53-
| Huawei/One+ | Chrome* | Pass|
54-
| Huawei/One+ | Edge* | Pass|
55-
| Huawei/One+ | Firefox* | Pass|
56-
| Huawei/One+ | Brave* | Pass|
57-
| One+ | Ecosia* | Pass|
58-
| One+ | Kiwi* | Pass|
45+
| Huawei/One+ | Chrome\* | Pass|
46+
| Huawei/One+ | Edge\* | Pass|
47+
| Huawei/One+ | Firefox\* | Pass|
48+
| Huawei/One+ | Brave\* | Pass|
49+
| One+ | Ecosia\* | Pass|
50+
| One+ | Kiwi\* | Pass|
5951
| Huawei/One+ | Opera | Pass|
6052
| Huawei | OperaMini | Pass|
6153
| Huawei/One+ | InBrowser | Pass|
6254
| One+ | Maxthon | Pass|
63-
| Huawei/One+ | DuckDuckGo | User canceled auth|
64-
| Huawei/One+ | UC Browser | User canceled auth|
65-
| One+ | Dolphin | User canceled auth|
66-
| One+ | CM browser | User canceled auth|
67-
| Huawei/One+ | none installed | AndroidActivityNotFound ex|
55+
| Huawei/One+ | DuckDuckGo | User canceled authentication|
56+
| Huawei/One+ | UC Browser | User canceled authentication|
57+
| One+ | Dolphin | User canceled authentication|
58+
| One+ | CM Browser | User canceled authentication|
59+
| Huawei/One+ | None installed | AndroidActivityNotFound exception|
60+
61+
\* Supports custom tabs
62+
63+
## Known issues
64+
65+
If the user has no browser enabled on the device, MSAL.NET will throw an `AndroidActivityNotFound` exception.
66+
- **Mitigation**: Ask the user to enable a browser on their device. Recommend a browser that supports custom tabs.
6867

69-
* Supports custom tabs
68+
If authentication fails (for example, if authentication launches with DuckDuckGo), MSAL.NET will return `AuthenticationCanceled MsalClientException`.
69+
- **Root problem**: A browser that supports custom tabs wasn't enabled on the device. Authentication launched with a browser that couldn't complete authentication.
70+
- **Mitigation**: Ask the user to enable a browser on their device. Recommend a browser that supports custom tabs.
7071

7172
## Next steps
72-
For code snippets and additional information on using system browser with Xamarin Android, read this [guide](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki/MSAL.NET-uses-web-browser#choosing-between-embedded-web-browser-or-system-browser-on-xamarinandroid).
73+
For more information and code examples, see [Choosing between an embedded web browser and a system browser on Xamarin Android](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki/MSAL.NET-uses-web-browser#choosing-between-embedded-web-browser-or-system-browser-on-xamarinandroid) and [Embedded versus system web UI](msal-net-web-browsers.md#embedded-vs-system-web-ui).

0 commit comments

Comments
 (0)