Skip to content

Commit b377235

Browse files
author
derisen
committed
requested changes
1 parent ee5470f commit b377235

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

articles/active-directory/develop/msal-b2c-overview.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ git clone https://github.com/Azure-Samples/active-directory-b2c-javascript-nodej
6262
```JavaScript
6363
const clientID = "<Application ID for your Node.js Web API - found on Properties page in Azure portal e.g. 93733604-cc77-4a3c-a604-87084dd55348>";
6464
const b2cDomainHost = "<Domain of your B2C host eg. fabrikamb2c.b2clogin.com>";
65-
const tenantIdGuid = "<Application ID for your Node.js Web API - found on Properties page in Azure portal e.g. 775527ff-9a37-4307-8b3d-cc311f58d925>";
65+
const tenantId = "<your-tenant-ID>.onmicrosoft.com"; // Alternatively, you can use your Directory (tenant) ID (GUID)
6666
const policyName = "<Name of your sign in / sign up policy, e.g. B2C_1_signupsignin1>";
6767
```
6868

@@ -76,7 +76,7 @@ The following steps demonstrate how a **single-page application** can use Azure
7676

7777
### Step 1: Register your application
7878

79-
To implement authentication, you first need to register your application. See [Register your application](https://docs.microsoft.com/azure/active-directory-b2c/tutorial-register-applications?tabs=applications) for detailed steps.
79+
To implement authentication, you first need to register your application. See [Register your application](https://docs.microsoft.com/azure/active-directory-b2c/tutorial-register-applications) for detailed steps.
8080

8181
### Step 2: Download the sample application
8282

@@ -127,11 +127,6 @@ There are two points of interest in configuring your application:
127127
const loginRequest = {
128128
scopes: ["openid", "profile"],
129129
};
130-
131-
// Add here scopes for access token to be used at the API endpoints.
132-
const tokenRequest = {
133-
scopes: ["https://fabrikamb2c.onmicrosoft.com/helloapi/demo.read"] //API scopes you exposed during api registration
134-
};
135130
```
136131

137132
For more information, check out this [JavaScript B2C single-page application sample](https://github.com/Azure-Samples/active-directory-b2c-javascript-msal-singlepageapp).
@@ -142,5 +137,5 @@ For more information, check out this [JavaScript B2C single-page application sam
142137

143138
Learn more about:
144139
- [User flows](https://docs.microsoft.com/azure/active-directory-b2c/tutorial-create-user-flows)
145-
- [Custom policies](https://docs.microsoft.com/azure/active-directory-b2c/custom-policy-get-started?tabs=applications)
140+
- [Custom policies](https://docs.microsoft.com/azure/active-directory-b2c/custom-policy-get-started)
146141
- [UX customization](https://docs.microsoft.com/azure/active-directory-b2c/custom-policy-configure-user-input)

0 commit comments

Comments
 (0)