Skip to content

Commit 4f649ea

Browse files
committed
review changes
1 parent ff5a4b8 commit 4f649ea

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ products:
66
- nodejs
77
- ms-graph
88
- azure-active-directory
9-
description: "Demonstrates how to use MSAL Node to acquire an access token for a protected resource such as Microsoft Graph in a console application using the application's own identity (client credentials flow)."
9+
description: "Demonstrates how to use MSAL Node to acquire an access token for a protected resource such as Microsoft Graph in a console application using the application's own identity (client credentials flow)"
1010
urlFragment: "ms-identity-javascript-nodejs-console"
1111
---
1212

1313
# A Node.js console application secured by MSAL Node (Preview) on Microsoft identity platform
1414

15-
This sample demonstrates how to use [MSAL Node (Preview)](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-node) to acquire an access token for a protected resource such as Microsoft Graph in a console application using the application's own identity ([client credentials flow](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow)).
15+
This sample demonstrates how to use [MSAL Node (Preview)](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-node) to acquire an access token for a protected resource such as Microsoft Graph in a console application using the application's own identity with the ([client credentials flow](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow)).
1616

1717
## Features
1818

@@ -42,15 +42,15 @@ This sample demonstrates the following **MSAL Node** concepts:
4242
### Setup
4343

4444
1. [Register a new application](https://docs.microsoft.com/azure/active-directory/develop/scenario-daemon-app-registration) in the [Azure Portal](https://portal.azure.com).
45-
1. For API Permissions, select `User.Read.All` under **Microsoft APIs** > **Microsoft Graph** > **Delegated Permissions**.
46-
2. Ensure that you have obtained **admin consent** for API permissions.
45+
1. For API Permissions, select `User.Read.All` under **Microsoft APIs** > **Microsoft Graph** > **Application Permissions**.
46+
2. Select **Grant admin consent for {tenant}**.
4747
1. Clone this repository `git clone https://github.com/Azure-Samples/ms-identity-javascript-nodejs-console.git`
4848
1. Open the [.env](.env) file and provide the required configuration values.
49-
1. Replace the string `Enter_the_Application_Id_Here` with your app/client ID on Azure AD portal.
5049
1. Replace the string `Enter_the_Tenant_Id_Here` with your tenant ID on Azure AD portal.
51-
1. Replace the string `Enter_the_Client_Secret_Here` with the client secret you created on Azure AD portal.
52-
1. Replace the string `Enter_the_Cloud_Instance_Id_Here` with `https://login.microsoftonline.com/` (see **note** below).
53-
1. Replace the string `Enter_the_Graph_Endpoint_Here`. with `https://graph.microsoft.com/` (see **note** below).
50+
2. Replace the string `Enter_the_Application_Id_Here` with your app/client ID on Azure AD portal.
51+
3. Replace the string `Enter_the_Client_Secret_Here` with the client secret you created on Azure AD portal.
52+
4. Replace the string `Enter_the_Cloud_Instance_Id_Here` with `https://login.microsoftonline.com/` (see **note** below).
53+
5. Replace the string `Enter_the_Graph_Endpoint_Here`. with `https://graph.microsoft.com/` (see **note** below).
5454

5555
> :information_source: *note*: This is for multi-tenant applications located on the global Azure cloud. For more information, see: [Use MSAL in a national cloud environment](https://docs.microsoft.com/azure/active-directory/develop/quickstart-v2-javascript-auth-code)
5656

0 commit comments

Comments
 (0)