Skip to content
This repository has been archived by the owner. It is now read-only.

Commit 394b2c7

Browse files
committed
readme fixed
1 parent 74874ce commit 394b2c7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,16 +99,17 @@ Provide the following values for the Node.js Web API registration:
9999
- Create the application.
100100
- Once the application is created, open your `My Test Node.js Web API` application and then open the **Published Scopes** window (in the left nav menu) and add the scope `demo.read` followed by a description `demoing a read scenario`. Click **Save**.
101101

102-
Third, in the `index.html` file of the Node.js Web API sample, update the following variables to refer to your Web API registration.
102+
Third, in the `index.js` file of the Node.js Web API sample, update the following variables to refer to your Web API registration.
103103

104104
```javascript
105-
var tenantID = "<your-tenant-name>.onmicrosoft.com";
106-
var clientID = "<Application ID for your Node.js Web API - found on Properties page in Azure portal>";
107-
var policyName = "<Name of your sign in / sign up policy, e.g. B2C_1_SiUpIn>";
105+
var clientID = "<Application ID for your Node.js Web API - found on Properties page in Azure portal e.g. 93733604-cc77-4a3c-a604-87084dd55348>";
106+
var b2cDomainHost = "<Domain of your B2C host eg. fabrikamb2c.b2clogin.com>";
107+
var tenantIdGuid = "<Application ID for your Node.js Web API - found on Properties page in Azure portal e.g. 775527ff-9a37-4307-8b3d-cc311f58d925>";
108+
var policyName = "<Name of your sign in / sign up policy, e.g. B2C_1_SUSI>";
108109
```
109110

110111
> **NOTE**
111-
>
112+
>
112113
>Developers using the [Azure China Environment](https://docs.microsoft.com/en-us/azure/active-directory/develop/authentication-national-cloud), MUST use <your-tenant-name>.b2clogin.cn authority, instead of `login.chinacloudapi.cn`.
113114
>
114115
> In order to use <your-tenant-name>.b2clogin.*, you will need to configure you application and set `validateAuthority: false`. Learn more about using [b2clogin](https://docs.microsoft.com/en-us/azure/active-directory-b2c/b2clogin#set-the-validateauthority-property).

0 commit comments

Comments
 (0)