Skip to content

Commit b35cb26

Browse files
authored
Merge pull request #201077 from derisen/patch-1
Add missing step
2 parents 90b5db5 + d27f1ed commit b35cb26

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/active-directory/develop/tutorial-v2-nodejs-webapp-msal.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ The web app sample in this tutorial uses the [express-session](https://www.npmjs
100100

101101
## Add app registration details
102102

103-
1. Create an *.env* file in the root of your project folder. Then add the following code:
103+
1. Create a *.env* file in the root of your project folder. Then add the following code:
104104

105105
:::code language="text" source="~/ms-identity-node/App/.env":::
106106

@@ -130,6 +130,8 @@ Fill in these details with the values you obtain from Azure app registration por
130130

131131
## Add code for user login and token acquisition
132132

133+
1. Create a new file named *auth.js* under the *router* folder and add the following code there:
134+
133135
:::code language="js" source="~/ms-identity-node/App/routes/auth.js":::
134136

135137
2. Next, update the *index.js* route by replacing the existing code with the following:
@@ -142,7 +144,7 @@ Fill in these details with the values you obtain from Azure app registration por
142144

143145
## Add code for calling the Microsoft Graph API
144146

145-
Create a file named **fetch.js** in the root of your project and add the following code:
147+
Create a file named *fetch.js* in the root of your project and add the following code:
146148

147149
:::code language="js" source="~/ms-identity-node/App/fetch.js":::
148150

0 commit comments

Comments
 (0)