Skip to content

Commit 39c60bb

Browse files
authored
Merge pull request #95527 from hamiltonha/patch-3
Revert HTML encoding for XML block
2 parents bffb229 + 641770e commit 39c60bb

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

articles/active-directory/develop/quickstart-v2-android.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -93,26 +93,26 @@ Applications must be represented by an app object in Azure Active Directory so t
9393
9494
> [!div class="sxs-lookup" renderon="portal"]
9595
> 4. Inside **app** > **src** > **main**, open **AndroidManifest.xml**.
96-
> 5. In the **manifest\application** node, replace the **<activity android:name="com.microsoft.identity.client.BrowserTabActivity">** node with the following:
96+
> 5. In the **manifest\application** node, replace the **activity android:name="com.microsoft.identity.client.BrowserTabActivity"** node with the following:
9797
> ```xml
98-
> &lt;!--Intent filter to catch Microsoft's callback after Sign In--&gt;
99-
> &lt;activity android:name=&quot;com.microsoft.identity.client.BrowserTabActivity&quot;&gt;
100-
> &lt;intent-filter&gt;
101-
> &lt;action android:name=&quot;android.intent.action.VIEW&quot; /&gt;
102-
> &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt;
103-
> &lt;category android:name=&quot;android.intent.category.BROWSABLE&quot; /&gt;
104-
> &lt;!--
98+
> <!--Intent filter to catch Microsoft's callback after Sign In-->
99+
> <activity android:name="com.microsoft.identity.client.BrowserTabActivity">
100+
> <intent-filter>
101+
> <action android:name="android.intent.action.VIEW" />
102+
> <category android:name="android.intent.category.DEFAULT" />
103+
> <category android:name="android.intent.category.BROWSABLE" />
104+
> <!--
105105
> Add in your scheme/host from registered redirect URI
106-
> note that the leading &quot;/&quot; is required for android:path
107-
> --&gt;
108-
> &lt;data android:scheme=&quot;msauth&quot;
109-
> android:host=&quot;Enter_the_Package_Name&quot;
110-
> android:path=&quot;Enter_the_Signature_Hash&quot;
111-
> android:scheme = &quot;msauth&quot; /&gt;
112-
> &lt;/intent-filter&gt;
113-
> &lt;/activity&gt;
106+
> note that the leading "/" is required for android:path
107+
> -->
108+
> <data
109+
> android:host="Enter_the_Package_Name"
110+
> android:path="/Enter_the_Signature_Hash"
111+
> android:scheme= "msauth" />
112+
> </intent-filter>
113+
> </activity>
114114
> ```
115-
> 6. Run the app!
115+
> 6. Run the app!
116116
> The sample app starts on the **Single Account Mode** screen. A default scope, **user.read**, is provided by default, which is used when reading your own profile data during the Microsoft Graph API call. The URL for the Microsoft Graph API call is provided by default. You can change both of these if you wish.
117117
>
118118
> ![MSAL sample app showing single and multiple account usage](./media/quickstart-v2-android/quickstart-sample-app.png)

0 commit comments

Comments
 (0)