Skip to content

Commit f65b1d9

Browse files
Merge pull request #146 from blueboxes/patch-1
Correct syntax error in example in readme.md
2 parents c5b565d + 322d919 commit f65b1d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const options = {
6666
// An Optional options for initializing the MSAL @see https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/MSAL-basics#configuration-options
6767
redirectUri: "Your redirect URI",
6868
};
69-
const authProvider = new MicrosoftGraph.MSALAuthenticationProvider(clientId, scopes, options);
69+
const authProvider = new MicrosoftGraph.MSALAuthenticationProvider(clientId, graphScopes, options);
7070
```
7171

7272
#### Creating an instance of MSALAuthenticationProvider in node environment
@@ -80,7 +80,7 @@ npm install msal@<version>
8080
```typescript
8181
import { MSALAuthenticationProvider } from "./node_modules/@microsoft/microsoft-graph-client/lib/src/MSALAuthenticationProvider";
8282

83-
const clientID = "your_client_id"; // Client Id of the registered application
83+
const clientId = "your_client_id"; // Client Id of the registered application
8484
const graphScopes = ["user.read", "mail.send"]; // An array of graph scopes
8585
const options = {
8686
// An Optional options for initializing the MSAL @see https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/MSAL-basics#configuration-options

0 commit comments

Comments
 (0)