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

Commit 184f5c9

Browse files
author
derisen
committed
remote changes
2 parents 419965e + 9623291 commit 184f5c9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

JavaScriptSPA/authConfig.js

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

22
/**
3-
* Config object to be passed to Msal on creation.
3+
* Config object to be passed to MSAL on creation.
44
* For a full list of msal.js configuration parameters,
55
* visit https://azuread.github.io/microsoft-authentication-library-for-js/docs/msal/modules/_configuration_.html
6-
* */
6+
* */
77
const msalConfig = {
88
auth: {
99
clientId: "e760cab2-b9a1-4c0d-86fb-ff7084abd902",
@@ -27,4 +27,4 @@ const loginRequest = {
2727
// Add here scopes for access token to be used at the API endpoints.
2828
const tokenRequest = {
2929
scopes: apiConfig.b2cScopes, // e.g. ["https://fabrikamb2c.onmicrosoft.com/helloapi/demo.read"]
30-
};
30+
};

JavaScriptSPA/authPopup.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const myMSALObj = new Msal.UserAgentApplication(msalConfig);
55
function signIn() {
66
myMSALObj.loginPopup(loginRequest)
77
.then(loginResponse => {
8-
console.log("Id_token acquired at: " + new Date().toString());
8+
console.log("id_token acquired at: " + new Date().toString());
99
console.log(loginResponse);
1010

1111
if (myMSALObj.getAccount()) {
@@ -58,7 +58,7 @@ function passTokenToApi() {
5858
.then(tokenResponse => {
5959
console.log("access_token acquired at: " + new Date().toString());
6060
try {
61-
logMessage("Request made to Web API:")
61+
logMessage("Request made to Web API:");
6262
callApiWithAccessToken(apiConfig.webApi, tokenResponse.accessToken);
6363
} catch(err) {
6464
console.log(err);

JavaScriptSPA/authRedirect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function passTokenToApi() {
7777
if (!accessToken) {
7878
getTokenRedirect(tokenRequest);
7979
} else {
80-
logMessage("Request made to Web API:")
80+
logMessage("Request made to Web API:");
8181
try {
8282
callApiWithAccessToken(apiConfig.webApi, accessToken);
8383
} catch (err) {

0 commit comments

Comments
 (0)