Skip to content

Commit 62a79f0

Browse files
authored
Merge pull request #185430 from kengaderdus/update-configure-authentication-sample-spa-app
[Azure AD B2C] Update configure-authentication-sample-spa-app doc
2 parents 475acd2 + a5d778c commit 62a79f0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/active-directory-b2c/configure-authentication-sample-spa-app.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ Now that you've obtained the SPA sample, update the code with your Azure AD B2C
131131
|---------|---------|---------|
132132
|authConfig.js|clientId| The SPA ID from [step 2.3](#step-23-register-the-spa).|
133133
|policies.js| names| The user flows, or custom policy you created in [step 1](#step-1-configure-your-user-flow).|
134-
|policies.js|authorities|Your Azure AD B2C [tenant name](tenant-management.md#get-your-tenant-name) (for example, `contoso.onmicrosoft.com`). Then, replace with the user flows, or custom policy you created in [step 1](#step-1-configure-your-user-flow) (for example, `https://<your-tenant-name>.b2clogin.com/<your-tenant-name>.onmicrosoft.com/<your-sign-in-sign-up-policy>`).|
135-
|policies.js|authorityDomain|Your Azure AD B2C [tenant name](tenant-management.md#get-your-tenant-name) (for example, `contoso.onmicrosoft.com`).|
134+
|policies.js|authorities|Your Azure AD B2C user flows or custom policies authorities such as `https://<your-tenant-name>.b2clogin.com/<your-tenant-name>.onmicrosoft.com/<your-sign-in-sign-up-policy>`. Replace `your-sign-in-sign-up-policy` with user flow or custom policy you created in [step 1](#sign-in-flow)|
135+
|policies.js|authorityDomain|Your Azure AD B2C authority domain such as `<your-tenant-name>.b2clogin.com`.|
136136
|apiConfig.js|b2cScopes|The web API scopes you created in [step 2.2](#step-22-configure-scopes) (for example, `b2cScopes: ["https://<your-tenant-name>.onmicrosoft.com/tasks-api/tasks.read"]`).|
137-
|apiConfig.js|webApi|The URL of the web API, `http://localhost:5000/tasks`.|
137+
|apiConfig.js|webApi|The URL of the web API, `http://localhost:5000/hello`.|
138138
| | | |
139139
140140
Your resulting code should look similar to following sample:
@@ -192,7 +192,7 @@ const b2cPolicies = {
192192
```javascript
193193
const apiConfig = {
194194
b2cScopes: ["https://your-tenant-name.onmicrosoft.com/tasks-api/tasks.read"],
195-
webApi: "http://localhost:5000/tasks"
195+
webApi: "http://localhost:5000/hello"
196196
};
197197
```
198198

0 commit comments

Comments
 (0)