Skip to content

Commit 1ad1265

Browse files
committed
var > const (API tutorial) + dates
1 parent 71a4707 commit 1ad1265

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

articles/active-directory-b2c/quickstart-single-page-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ manager: celestedg
99
ms.service: active-directory
1010
ms.workload: identity
1111
ms.topic: quickstart
12-
ms.date: 03/20/2020
12+
ms.date: 04/04/2020
1313
ms.author: mimart
1414
ms.subservice: B2C
1515
---

articles/active-directory-b2c/tutorial-single-page-app-webapi.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: msmimart
77
manager: celestedg
88

99
ms.author: mimart
10-
ms.date: 03/23/2020
10+
ms.date: 04/04/2020
1111
ms.custom: mvc
1212
ms.topic: tutorial
1313
ms.service: active-directory
@@ -74,10 +74,10 @@ git clone https://github.com/Azure-Samples/active-directory-b2c-javascript-nodej
7474
1. Modify the variable values to reflect those of the application registration you created earlier. Also update the `policyName` with the user flow you created as part of the prerequisites. For example, *B2C_1_signupsignin1*.
7575

7676
```javascript
77-
var clientID = "<your-webapi-application-ID>"; // Application (client) ID
78-
var b2cDomainHost = "<your-tenant-name>.b2clogin.com";
79-
var tenantId = "<your-tenant-ID>.onmicrosoft.com"; // Alternatively, you can use your Directory (tenant) ID (a GUID)
80-
var policyName = "B2C_1_signupsignin1";
77+
const clientID = "<your-webapi-application-ID>"; // Application (client) ID
78+
const b2cDomainHost = "<your-tenant-name>.b2clogin.com";
79+
const tenantId = "<your-tenant-ID>.onmicrosoft.com"; // Alternatively, you can use your Directory (tenant) ID (a GUID)
80+
const policyName = "B2C_1_signupsignin1";
8181
```
8282

8383
#### Enable CORS

articles/active-directory-b2c/tutorial-single-page-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: msmimart
77
manager: celestedg
88

99
ms.author: mimart
10-
ms.date: 03/23/2020
10+
ms.date: 04/04/2020
1111
ms.custom: mvc, seo-javascript-september2019
1212
ms.topic: tutorial
1313
ms.service: active-directory

includes/active-directory-b2c-permissions-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ author: msmimart
33
ms.service: active-directory-b2c
44
ms.subservice: B2C
55
ms.topic: include
6-
ms.date: 03/23/2019
6+
ms.date: 04/04/2020
77
ms.author: mimart
88
# Used by the web app/web API tutorials for granting a web application access to
99
# a registered web API application

0 commit comments

Comments
 (0)