Skip to content

Commit ba66289

Browse files
committed
add web API authentication options
1 parent 09e0d72 commit ba66289

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

articles/active-directory-b2c/enable-authentication-in-node-web-app-with-api-options.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ ms.custom: "b2c-support"
1515

1616
# Enable Node.js web API authentication options using Azure Active Directory B2C
1717

18-
This article describes how to enable, customize, and enhance the Azure Active Directory B2C (Azure AD B2C) authentication experience for your Node.js web application.
18+
This article describes how to enable, customize, and enhance the Azure Active Directory B2C (Azure AD B2C) authentication experience for your Node.js web API.
1919

2020
Before you start, it's important to familiarize yourself with the following articles:
2121

22-
- [Configure authentication in a Node.js sample web app](configure-a-sample-node-web-app.md)
23-
- [Enable authentication in your own Node.js web app](enable-authentication-in-node-web-app.md).
22+
- [Configure authentication in a sample Node.js web API](configure-authentication-in-sample-node-web-app-with-api.md)
23+
- [Enable authentication in your own Node.js web API](enable-authentication-in-node-web-app-with-api.md).
2424

2525
[!INCLUDE [active-directory-b2c-app-integration-custom-domain](../../includes/active-directory-b2c-app-integration-custom-domain.md)]
2626

@@ -36,10 +36,6 @@ The following configuration shows the app settings before the change:
3636
```text
3737
#B2C sign up and sign in user flow/policy authority
3838
SIGN_UP_SIGN_IN_POLICY_AUTHORITY=https://contoso.b2clogin.com/contoso.onmicrosoft.com/B2C_1_susi
39-
#B2C password reset user flow/policy authority
40-
RESET_PASSWORD_POLICY_AUTHORITY=https://contoso.b2clogin.com/contoso.onmicrosoft.com/B2C_1_passwordreset
41-
#B2C edit profile user flow/policy authority
42-
EDIT_PROFILE_POLICY_AUTHORITY=https://contoso.b2clogin.com/contoso.onmicrosoft.com/B2C_1_edit
4339
#B2C authority domain
4440
AUTHORITY_DOMAIN=https://contoso.b2clogin.com
4541
#client redirect url
@@ -53,10 +49,6 @@ The following configuration shows the app settings after the change:
5349
```text
5450
#B2C sign up and sign in user flow/policy authority
5551
SIGN_UP_SIGN_IN_POLICY_AUTHORITY=https://login.contoso.com/12345678-0000-0000-0000-000000000000/B2C_1_susi
56-
#B2C password reset user flow/policy authority
57-
RESET_PASSWORD_POLICY_AUTHORITY=https://login.contoso.com/12345678-0000-0000-0000-000000000000/B2C_1_passwordreset
58-
#B2C edit profile user flow/policy authority
59-
EDIT_PROFILE_POLICY_AUTHORITY=https://login.contoso.com/12345678-0000-0000-0000-000000000000/B2C_1_edit
6052
#B2C authority domain
6153
AUTHORITY_DOMAIN=https://login.contoso.com
6254
#client redirect url

articles/active-directory-b2c/enable-authentication-in-node-web-app-with-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ npm install @azure/msal-node
161161
162162
:::code language="html" source="~/active-directory-b2c-msal-node-sign-in-sign-out-webapp/call-protected-api/.env":::
163163
164-
Modify the values in the `.env` files as explained in [Configure the sample web app](configure-authentication-in-sample-node-web-api.md?#step-32-configure-the-sample-web-app)
164+
Modify the values in the `.env` files as explained in [Configure the sample web app](configure-authentication-in-sample-node-web-app-with-api.md?#step-32-configure-the-sample-web-app)
165165
166166
167167
1. In your `index.js` file, add the following code:

0 commit comments

Comments
 (0)