Skip to content

Commit c9668b6

Browse files
authored
Merge pull request #102130 from KingdomOfEnds/adt-aad
updated aad step
2 parents ab8a7fc + e6b46cb commit c9668b6

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

includes/digital-twins-permissions.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
manager: bertvanhoof
88
ms.service: digital-twins
99
ms.topic: include
10-
ms.date: 01/06/2020
10+
ms.date: 01/23/2020
1111
ms.custom: include file
1212
---
1313

@@ -28,9 +28,18 @@
2828

2929
1. To make sure that [the app is registered as a **public client**](https://docs.microsoft.com/azure/active-directory/develop/scenario-desktop-app-registration), open the **Authentication** pane for your app registration, and scroll down in that pane. In the **Default client type** section, choose **Yes** for **Treat application as a public client**, and hit **Save**.
3030

31-
Check **Access tokens** to enable the **oauth2AllowImplicitFlow** setting in your Manifest.json.
31+
1. **Redirect URIs** must match the address supplied by the authentication request:
3232

33-
[![Public client configuration setting](./media/digital-twins-permissions/aad-configure-public-client.png)](./media/digital-twins-permissions/aad-configure-public-client.png#lightbox)
33+
* For apps hosted in a local development environment, select **Public client (mobile & desktop)**. Make sure to set the **Default client type** to yes.
34+
* For Single-Page apps hosted on Azure App Service, select **Web**.
35+
36+
Select **Public client (mobile & desktop)** and enter `http://localhost:8080/`.
37+
38+
[![Configure Redirect URIs](./media/digital-twins-permissions/aad-app-configure-redirect-uris.png)](./media/digital-twins-permissions/aad-app-configure-redirect-uris.png#lightbox)
39+
40+
1. Check **Access tokens** to configure the **oauth2AllowImplicitFlow** setting to `true` in your resource's **Manifest** JSON.
41+
42+
[![Public client configuration setting](./media/digital-twins-permissions/aad-configure-public-client.png)](./media/digital-twins-permissions/aad-configure-public-client.png#lightbox)
3443

3544
1. Open the **Overview** pane of your registered app, and copy the values of the following entities to a temporary file. You'll use these values to configure your sample application in the following sections.
3645

187 KB
Loading

0 commit comments

Comments
 (0)