Skip to content

Commit a8b3abf

Browse files
authored
edits for Azure style
1 parent 4b1f031 commit a8b3abf

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Sign in users in JavaScript single-page apps | Azure
33
titleSuffix: Microsoft identity platform
4-
description: Learn how a JavaScript app can call an API that requires access tokens using the Microsoft Identity Platform.
4+
description: Learn how a JavaScript app can call an API that requires access tokens using the Microsoft identity platform.
55
services: active-directory
66
author: navyasric
77
manager: CelesteDG
@@ -26,7 +26,7 @@ In this quickstart, you use a code sample to learn how a JavaScript single-page
2626

2727
* Azure subscription - [create one for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F)
2828
* [Node.js](https://nodejs.org/en/download/).
29-
* [Visual Studio Code](https://code.visualstudio.com/download) (to edit project files).
29+
* [Visual Studio Code](https://code.visualstudio.com/download) (to edit project files)
3030

3131
> [!div renderon="docs"]
3232
> ## Register and download your quickstart application
@@ -56,7 +56,7 @@ In this quickstart, you use a code sample to learn how a JavaScript single-page
5656
> 1. Select **Register**. On the app **Overview** page, note the **Application (client) ID** value for later use.
5757
> 1. This quickstart requires the [Implicit grant flow](v2-oauth2-implicit-grant-flow.md) to be enabled. In the left pane of the registered application, select **Authentication**.
5858
> 1. Under **Platform Configurations**, select **Add a platform**. A panel opens on the left. There, select the **Web Applications** region.
59-
> 1. Still on the left, set the **Redirect URI** value to http://localhost:3000/. Then select **Access Token** and **ID Token**.
59+
> 1. Still on the left, set the **Redirect URI** value to `http://localhost:3000/`. Then, select **Access Token** and **ID Token**.
6060
> 1. Select **Configure**.
6161
6262
> [!div class="sxs-lookup" renderon="portal"]
@@ -119,17 +119,17 @@ Select the option that's suitable to your development environment:
119119
120120
#### Step 4: Run the project
121121

122-
* If you're using [Node.js](https://nodejs.org/en/download/):
122+
If you're using [Node.js](https://nodejs.org/en/download/):
123123

124-
1. To start the server, run the following command from the project directory:
124+
1. To start the server, run the following command from the project directory:
125125

126-
```batch
127-
npm install
128-
npm start
129-
```
126+
```batch
127+
npm install
128+
npm start
129+
```
130130

131-
1. Open a web browser and go to `http://localhost:3000/`.
132-
1. Select **Sign In** to start the sign-in, and then call Microsoft Graph API.
131+
1. Open a web browser and go to `http://localhost:3000/`.
132+
1. Select **Sign In** to start the sign-in, and then call Microsoft Graph API.
133133

134134
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.
135135

0 commit comments

Comments
 (0)