Skip to content

Commit 752791b

Browse files
authored
Portal rendering fixes
1 parent 4d1e16f commit 752791b

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

articles/active-directory/develop/quickstart-v2-javascript.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,11 @@ In this quickstart, you use a code sample to learn how a JavaScript single-page
7272
> [!div renderon="docs"]
7373
> To run the project with a web server by using Node.js, [download the core project files](https://github.com/Azure-Samples/active-directory-javascript-graphapi-v2/archive/quickstart.zip).
7474
75-
> [!div renderon="portal" id="autoupdate" class="nextstepaction"]
75+
> [!div renderon="portal"]
7676
> Run the project with a web server by using Node.js
77+
78+
79+
> [!div renderon="portal" id="autoupdate" class="nextstepaction"]
7780
> [Download the code sample]()
7881
7982
> [!div renderon="docs"]
@@ -93,8 +96,8 @@ In this quickstart, you use a code sample to learn how a JavaScript single-page
9396
> storeAuthStateInCookie: true
9497
> }
9598
> };
99+
> ```
96100
97-
```
98101
> [!div renderon="portal"]
99102
> > [!NOTE]
100103
> > This quickstart supports Enter_the_Supported_Account_Info_Here.
@@ -121,15 +124,13 @@ In this quickstart, you use a code sample to learn how a JavaScript single-page
121124
122125
Run the project with a web server by using [Node.js](https://nodejs.org/en/download/):
123126
124-
1. To start the server, run the following command from the project directory:
125-
126-
```batch
127-
npm install
128-
node server.js
129-
```
130-
131-
1. Open a web browser and go to `http://localhost:30662/`.
132-
1. Select **Sign In** to start the sign-in, and then call Microsoft Graph API.
127+
1. To start the server, run the following command from the project directory:
128+
```batch
129+
npm install
130+
node server.js
131+
```
132+
1. Open a web browser and go to `http://localhost:30662/`.
133+
1. Select **Sign In** to start the sign-in, and then call Microsoft Graph API.
133134
134135
After the browser loads the application, select **Sign In**. The first time that you sign in, you're prompted to provide your consent to allow the application to access your profile and to sign you in. After you're signed in successfully, your user profile information should be displayed on the page.
135136

0 commit comments

Comments
 (0)