You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#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.
18
18
---
19
19
@@ -130,7 +130,7 @@ In this quickstart, you use a code sample to learn how a JavaScript single-page
130
130
131
131
> [!div renderon="docs"]
132
132
>
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.
134
134
>```javascript
135
135
> // Add here the endpoints for MS Graph API services you would like to use.
136
136
> const graphConfig = {
@@ -147,8 +147,7 @@ In this quickstart, you use a code sample to learn how a JavaScript single-page
147
147
148
148
> [!div renderon="docs"]
149
149
>
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).
152
151
>
153
152
> #### Step 4: Run the project
154
153
@@ -161,9 +160,9 @@ Run the project with a web server by using [Node.js](https://nodejs.org/en/downl
161
160
```
162
161
1. Browse to `http://localhost:3000/`.
163
162
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-inprocess and then call Microsoft Graph API.
165
164
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.
167
166
168
167
## More information
169
168
@@ -173,7 +172,7 @@ After the browser loads the application, select **Sign In**. The first time you
173
172
174
173
### msal.js
175
174
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:
0 commit comments