Skip to content
This repository has been archived by the owner. It is now read-only.

Commit 35ac6f1

Browse files
committed
clarifications in authConfig.js
1 parent 1a08469 commit 35ac6f1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

JavaScriptSPA/authConfig.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
// Config object to be passed to Msal on creation.
33
// For a full list of msal.js configuration parameters,
4-
// visit https://azuread.github.io/microsoft-authentication-library-for-js/docs/msal/modules/_authenticationparameters_.html
4+
// visit https://azuread.github.io/microsoft-authentication-library-for-js/docs/msal/modules/_configuration_.html
55
const msalConfig = {
66
auth: {
77
clientId: "e760cab2-b9a1-4c0d-86fb-ff7084abd902",
@@ -10,11 +10,13 @@ const msalConfig = {
1010
},
1111
cache: {
1212
cacheLocation: "localStorage", // This configures where your cache will be stored
13-
storeAuthStateInCookie: true // Set this to "true" if you are having issues on IE11 or Edge
13+
storeAuthStateInCookie: true // Set this to "true" to save cache in cookies to address trusted zones limitations in IE (see: https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/Known-issues-on-IE-and-Edge-Browser)
1414
}
1515
};
1616

17-
// Add here scopes for id token to be used at the MS Identity Platform endpoints.
17+
// Add here scopes for id token to be used at the MS Identity Platform endpoint
18+
// For a full list of available authentication parameters,
19+
// visit https://azuread.github.io/microsoft-authentication-library-for-js/docs/msal/modules/_authenticationparameters_.html
1820
const loginRequest = {
1921
scopes: ["openid", "profile"],
2022
};

0 commit comments

Comments
 (0)