Skip to content

Commit 7d6a0bf

Browse files
authored
Merge pull request #85115 from kraigb/kraigb-quickstarts-01
Normalize intro and prereqs to match updated template
2 parents 8c7ac20 + a651015 commit 7d6a0bf

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
@@ -24,16 +24,13 @@ ms.collection: M365-identity-device-management
2424

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

27-
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.
28-
29-
![How the sample app in this quickstart works](media/quickstart-v2-javascript/javascriptspa-intro.svg)
27+
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. (See [How the sample works](#how-the-sample-works) for an illustration.)
3028

3129
## Prerequisites
3230

33-
This quickstart requires the following setup:
34-
* To run the project with a Node.js server, download and install [Node.js](https://nodejs.org/en/download/).
35-
* To edit the project files, download and install [Visual Studio Code](https://code.visualstudio.com/download).
36-
* To run the project as a Visual Studio solution, download and install [Visual Studio 2019](https://visualstudio.microsoft.com/downloads/).
31+
* Azure subscription - [create one for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F)
32+
* [Node.js](https://nodejs.org/en/download/).
33+
* 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).
3734

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

8279
* (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*).
8380

84-
85-
8681
#### Step 3: Configure your JavaScript app
8782

8883
> [!div renderon="docs"]
@@ -144,6 +139,10 @@ After the browser loads the application, select **Sign In**. The first time that
144139
145140
## More information
146141
142+
### How the sample works
143+
144+
![How the sample app in this quickstart works](media/quickstart-v2-javascript/javascriptspa-intro.svg)
145+
147146
### msal.js
148147
149148
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)