Skip to content

Commit 3454934

Browse files
committed
Normalize intro and prereqs to match updated template
1 parent ae5a714 commit 3454934

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

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

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,13 @@ ms.collection: M365-identity-device-management
2323

2424
# Quickstart: Sign in users and acquire an access token from a JavaScript single-page application
2525

26-
In this quickstart, you learn how to use a code sample that demonstrates how a JavaScript single-page application (SPA) can sign in users of personal accounts, work accounts, and school accounts. A JavaScript SPA can also get an access token to call the Microsoft Graph API or any web API.
27-
28-
![How the sample app in this quickstart works](media/quickstart-v2-javascript/javascriptspa-intro.svg)
26+
In this quickstart, you use a code sample to learn how a JavaScript single-page application (SPA) can sign in users of personal accounts, work accounts, and school accounts. A JavaScript SPA can also get an access token to call the Microsoft Graph API or any web API. A diagram of how the sample works is included under [More information](#more-information).
2927

3028
## Prerequisites
3129

32-
This quickstart requires the following setup:
33-
* To run the project with a Node.js server, download and install [Node.js](https://nodejs.org/en/download/).
34-
* To edit the project files, download and install [Visual Studio Code](https://code.visualstudio.com/download).
35-
* To run the project as a Visual Studio solution, download and install [Visual Studio 2019](https://visualstudio.microsoft.com/downloads/).
30+
* Azure subscription - [create one for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F)
31+
* [Node.js](https://nodejs.org/en/download/).
32+
* Either [Visual Studio Code](https://code.visualstudio.com/download) (to edit project files), or [Visual Studio 2019](https://visualstudio.microsoft.com/downloads/) (ro run the project as a Visual Studio Solution).
3633

3734
> [!div renderon="docs"]
3835
> ## Register and download your quickstart application
@@ -80,8 +77,6 @@ Select the option that's suitable to your development environment:
8077

8178
* (Optional) To run the project with the IIS server, [download the Visual Studio project](https://github.com/Azure-Samples/active-directory-javascript-graphapi-v2/archive/vsquickstart.zip). Extract the zip file to a local folder (for example, *C:\Azure-Samples*).
8279

83-
84-
8580
#### Step 3: Configure your JavaScript app
8681

8782
> [!div renderon="docs"]
@@ -142,6 +137,10 @@ After the browser loads the application, select **Sign In**. The first time that
142137
143138
## More information
144139
140+
### How the sample works
141+
142+
![How the sample app in this quickstart works](media/quickstart-v2-javascript/javascriptspa-intro.svg)
143+
145144
### msal.js
146145
147146
The MSAL library signs in users and requests the tokens that are used to access an API that's protected by Microsoft identity platform. The quickstart *index.html* file contains a reference to the library:

0 commit comments

Comments
 (0)