You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/configure-a-sample-node-web-app.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Configure authentication in a sample Node.js web application by using Azure AD B2C
2
+
title: Configure authentication in a sample Node.js web application by using Azure Active Directory B2C (Azure AD B2C)
3
3
description: This article discusses how to use Azure Active Directory B2C to sign in and sign up users in a Node.js web application.
4
4
titleSuffix: Azure AD B2C
5
5
services: active-directory-b2c
@@ -63,7 +63,7 @@ To register the web app, follow these steps:
63
63
1. Select **Overview**.
64
64
1. Record the **Application (client) ID** for later use, when you configure the web application.
65
65
66
-

66
+

Copy file name to clipboardExpand all lines: articles/active-directory-b2c/configure-authentication-in-sample-node-web-app-with-api.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Configure authentication in a sample Node.js web API by using Azure AD B2C
2
+
title: Configure authentication in a sample Node.js web API by using Azure Active Directory B2C
3
3
description: Follow the steps in this article to learn how to configure authentication in a sample Node.js web API by using Azure AD B2C
4
4
titleSuffix: Azure AD B2C
5
5
services: active-directory-b2c
@@ -54,7 +54,7 @@ To enable your app to sign in with Azure AD B2C and call a web API, you must reg
54
54
55
55
The application registrations and the application architecture are described in the following diagram:
56
56
57
-

57
+

58
58
59
59
## Prerequisites
60
60
@@ -239,7 +239,7 @@ You're now ready to test the web application's scoped access to the web API. Run
239
239
```
240
240
1. In your browser, go to `http://localhost:3000`. You should see the page with two buttons, **Sign in to call PROTECTED API** and **Or call the ANONYMOUS API**.
241
241
242
-
:::image type="content" source="./media/tutorial-call-api-using-access-token/sign-in-call-api.png" alt-text="Web page for sign in to call protected api.":::
242
+
:::image type="content" source="./media/tutorial-call-api-using-access-token/sign-in-call-api.png" alt-text="Web page for sign in to call protected A P I.":::
243
243
244
244
1. To call the anonymous API, select the **Or call the ANONYMOUS API**. The API responds with JSON object with `date` key such as:
245
245
@@ -253,7 +253,7 @@ You're now ready to test the web application's scoped access to the web API. Run
253
253
1. Enter your sign-in credentials, such as email address and password. If you don't have an account, select**Sign up now** to create an account. If you have an account but have forgotten your password, select**Forgot your password?** to recover your password. After you successfully sign in or sign up, you should see the following page with **Call the PROTECTED API** button.
254
254
255
255
256
-
:::image type="content" source="./media/tutorial-call-api-using-access-token/signed-in-to-call-api.png" alt-text="Web page for signed to call protected api.":::
256
+
:::image type="content" source="./media/tutorial-call-api-using-access-token/signed-in-to-call-api.png" alt-text="Web page for signed to call protected A P I.":::
257
257
258
258
1. To call the protected API, selectthe**Call the PROTECTED API** button. The API responds with JSON object with a `name` key whose value is your account's surname such as:
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/enable-authentication-in-node-web-app-options.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ ms.subservice: B2C
13
13
ms.custom: "b2c-support"
14
14
---
15
15
16
-
# Enable authentication options in a Node.js web app by using Azure AD B2C
16
+
# Enable authentication options in a Node.js web app by using Azure Active Directory B2C
17
17
18
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.
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/enable-authentication-in-node-web-app-with-api.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Enable authentication in your own Node.js web API by using Azure AD B2C
2
+
title: Enable authentication in your own Node.js web API by using Azure Active Directory B2C
3
3
description: Follow this article to learn how to call your own web API protected by Azure AD B2C from your own node js web app. The web app acquires an access token and uses it to call a protected endpoint in the web API. The web app adds the access token as a bearer in the Authorization header, and the web API needs to validate it.
4
4
titleSuffix: Azure AD B2C
5
5
services: active-directory-b2c
@@ -14,9 +14,9 @@ ms.author: kengaderdus
14
14
ms.subservice: B2C
15
15
---
16
16
17
-
# Enable authentication in your own Node.js web API by using Azure AD B2C
17
+
# Enable authentication in your own Node.js web API by using Azure Active Directory B2C
18
18
19
-
In this article, you learn how to create your web app that calls your web API that's protected by Azure Active Directory B2C (Azure AD B2C). To authorize access to a the web API, serve only requests that include a valid Azure AD B2C-issued access token.
19
+
In this article, you learn how to create your web app that calls your web API. The web API needs to be protected by Azure Active Directory B2C (Azure AD B2C). To authorize access to a the web API, you serve requests that include a valid access token that's issued by Azure AD B2C.
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/enable-authentication-in-node-web-app.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Enable authentication in your own Node web application using Azure AD B2C
2
+
title: Enable authentication in your own Node web application using Azure Active Directory B2C
3
3
description: This article explains how to enable authentication in your own node.js web application using Azure AD B2C
4
4
titleSuffix: Azure AD B2C
5
5
services: active-directory-b2c
@@ -13,7 +13,7 @@ ms.author: kengaderdus
13
13
ms.subservice: B2C
14
14
---
15
15
16
-
# Enable authentication in your own Node web application using Azure AD B2C
16
+
# Enable authentication in your own Node web application using Azure Active Directory B2C
17
17
18
18
In this article, you'll learn how to add Azure Active Directory B2C (Azure AD B2C) authentication in your own Node.js web application. You'll enable users to sign in, sign out, update profile and reset password using Azure AD B2C user flows. This article uses [Microsoft Authentication Library (MSAL) for Node](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-node) to simplify adding authentication to your node web application.
0 commit comments