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
description: "This sample demonstrates a Node.js & Express Web App authenticating users against Azure AD with MSAL Node"
12
12
---
13
+
13
14
# A Node.js & Express Web App authenticating users against Azure AD with MSAL Node
14
15
15
16
1.[Overview](#overview)
@@ -27,7 +28,7 @@ description: "This sample demonstrates a Node.js & Express Web App authenticatin
27
28
28
29
## Overview
29
30
30
-
This sample demonstrates a Node.js & Express web application that authenticates users against Azure AD, with the help of [Microsoft Authentication Library for Node.js]() (MSAL Node). In doing so, it also illustrates various authentication concepts, such as [OIDC scopes](), [ID Tokens](), [ID Token validation](), [National Clouds]() and more.
31
+
This sample demonstrates a Node.js & Express web application that authenticates users against Azure AD, with the help of [Microsoft Authentication Library for Node.js](https://aka.ms/msalnode) (MSAL Node). In doing so, it also illustrates various authentication concepts, such as [OpenID scopes](https://docs.microsoft.com/azure/active-directory/develop/v2-permissions-and-consent#openid-connect-scopes), [ID Tokens](https://docs.microsoft.com/azure/active-directory/develop/id-tokens), [ID Token validation]() and more.
31
32
32
33
## Scenario
33
34
@@ -73,6 +74,7 @@ or download and extract the repository .zip file.
73
74
Locate the root of the sample folder. Then:
74
75
75
76
```console
77
+
cd 1-Authentication\1-sign-in
76
78
npm install
77
79
```
78
80
@@ -123,7 +125,7 @@ As a first step you'll need to:
123
125
1. Navigate to the [Azure portal](https://portal.azure.com) and select the **Azure AD** service.
124
126
1. Select the **App Registrations** blade on the left, then select **New registration**.
125
127
1. In the **Register an application page** that appears, enter your application's registration information:
126
-
- In the **Name** section, enter a meaningful application name that will be displayed to users of the app, for example `WebApp`.
128
+
- In the **Name** section, enter a meaningful application name that will be displayed to users of the app, for example `ms-identity-nodejs-webapp`.
127
129
- Under **Supported account types**, select **Accounts in this organizational directory only**.
128
130
- In the **Redirect URI (optional)** section, select **Web** in the combo-box and enter the following redirect URI: `http://localhost:4000/redirect`.
Copy file name to clipboardExpand all lines: README.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
@@ -83,7 +83,7 @@ Here we build on the concepts we learnt earlier to authenticate users and acquir
83
83
84
84
## We'd love your feedback!
85
85
86
-
Were we successful in addressing your learning objective? Consider taking a moment to [share your experience with us]().
86
+
Were we successful in addressing your learning objective? Consider taking a moment to [share your experience with us][(](https://forms.office.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbR73pcsbpbxNJuZCMKN0lURpUQkRCSVdRSk8wUjdZSkg2NEZGOFFaTkxQVyQlQCN0PWcu)).
0 commit comments