Skip to content

Commit 207308f

Browse files
hamiltonhammacy
andauthored
Apply suggestions from code review
Co-Authored-By: Marsh Macy <[email protected]>
1 parent afc8e20 commit 207308f

File tree

2 files changed

+50
-57
lines changed

2 files changed

+50
-57
lines changed

articles/active-directory/develop/quickstart-v2-javascipt-auth-code.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.workload: identity
1313
ms.date: 04/22/2020
1414
ms.author: hahamil
1515
ms.custom: aaddev, identityplatformtop40, scenarios:getting-started, languages:JavaScript
16-
16+
ROBOTS: NOINDEX
1717
#Customer intent: As an app developer, I want to learn how to get access tokens and refresh tokens by using the Microsoft identity platform endpoint so that my JavaScript app can sign in users of personal accounts, work accounts, and school accounts.
1818
---
1919

@@ -130,7 +130,7 @@ In this quickstart, you use a code sample to learn how a JavaScript single-page
130130
131131
> [!div renderon="docs"]
132132
>
133-
> Then, still in the same folder, edit *graphConfig.js* file to set the `graphMeEndpoint` and `graphMeEndpoint` for the `apiConfig` object.
133+
> Then, still in the same folder, edit *graphConfig.js* file to set the `graphMeEndpoint` and `graphMailEndpoint` for the `apiConfig` object.
134134
> ```javascript
135135
> // Add here the endpoints for MS Graph API services you would like to use.
136136
> const graphConfig = {
@@ -147,8 +147,7 @@ In this quickstart, you use a code sample to learn how a JavaScript single-page
147147
148148
> [!div renderon="docs"]
149149
>
150-
> Where:
151-
> - *\<Enter_the_Graph_Endpoint_Here>* is the endpoint that API calls will be made against. For the main or global Microsoft Graph API service, enter `https://graph.microsoft.com`. For more information, see [National cloud deployment](https://docs.microsoft.com/graph/deployments).
150+
> *\<Enter_the_Graph_Endpoint_Here>* is the endpoint that API calls will be made against. For the main or global Microsoft Graph API service, enter `https://graph.microsoft.com`. For more information, see [National cloud deployment](https://docs.microsoft.com/graph/deployments).
152151
>
153152
> #### Step 4: Run the project
154153
@@ -161,9 +160,9 @@ Run the project with a web server by using [Node.js](https://nodejs.org/en/downl
161160
```
162161
1. Browse to `http://localhost:3000/`.
163162
164-
1. Select **Sign In** to start the sign-in, and then call Microsoft Graph API.
163+
1. Select **Sign In** to start the sign-in process and then call Microsoft Graph API.
165164
166-
After the browser loads the application, select **Sign In**. The first time you sign in, you're prompted to provide your consent to allow the application to access your profile and sign you in. After you're signed in successfully, your user profile information should be displayed on the page.
165+
The first time you sign in, you're prompted to provide your consent to allow the application to access your profile and sign you in. After you're signed in successfully, your user profile information should be displayed on the page.
167166
168167
## More information
169168
@@ -173,7 +172,7 @@ After the browser loads the application, select **Sign In**. The first time you
173172
174173
### msal.js
175174
176-
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:
175+
The MSAL.js library signs in users and requests the tokens that are used to access an API that's protected by Microsoft identity platform. The sample's *index.html* file contains a reference to the library:
177176
178177
```html
179178
<script type="text/javascript" src="https://alcdn.msftauth.net/lib/1.2.1/js/msal.js" integrity="sha384-9TV1245fz+BaI+VvCjMYL0YDMElLBwNS84v3mY57pXNOt6xcUYch2QLImaTahcOP" crossorigin="anonymous"></script>

0 commit comments

Comments
 (0)