Skip to content

Commit

Permalink
update readme for sample and fix some question (#17587)
Browse files Browse the repository at this point in the history
* Add user name information when modifying todolist

* Modify the configuration information in the readme
  • Loading branch information
zhichengliu12581 authored Nov 16, 2020
1 parent 7f0b710 commit 28ec448
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,16 @@ window.applicationConfig = {

msalProvider.init(
{
authority: 'https://login.microsoftonline.com/<tenant>',
clientID: applicationConfig.clientID,
cacheLocation: 'localStorage',
postLogoutRedirectUri: 'http://localhost:8080/logout',

tokenReceivedCallback: function (errorDesc, token, error, tokenType) {
auth: {
clientId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
authority: "https://login.microsoftonline.com/<tenant>",
redirectUri: "http://localhost:8080/",
},
},
$httpProvider
cache: {
cacheLocation: "sessionStorage", // This configures where your cache will be stored
storeAuthStateInCookie: false, // Set this to "true" if you are having issues on IE11 or Edge
}
}
);
```

Expand All @@ -159,4 +160,4 @@ First, we need to ensure that this [instruction] is completed before run.
## Contributing
<!-- LINKS -->
[instruction]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/CONTRIBUTING.md#building-from-source
[instruction]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/CONTRIBUTING.md#building-from-source
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ angular.module('todoApp')

$scope.editInProgressTodo = {
Description: "",
ID: 0
ID: 0,
Owner: msalService.userInfo.userName
};


Expand Down Expand Up @@ -65,4 +66,4 @@ angular.module('todoApp')
$scope.loadingMsg = "";
})
};
}]);
}]);

0 comments on commit 28ec448

Please sign in to comment.