active-directory-dotnet-native-desktop icon indicating copy to clipboard operation
active-directory-dotnet-native-desktop copied to clipboard

Please port code fixes across for TodoListService

Open mprabhu11 opened this issue 12 years ago • 1 comments

Since the TodoListService largely behaves the same, it is tempting to not go through setting up that part when trying multiple samples and, instead, use the "Load existing project" into the new solution after dropping the TodoListService that came along.

I tried to use the TodoListService from this project for another project that (I think) was not expecting to get a "scope" claim. As a result it threw an exception. Noticed that the TodoListController code in that project actually checked if the claim itself was non-null before trying to read its value.

This is the line in the controller I'm referring to:

if (ClaimsPrincipal.Current.FindFirst("http://schemas.microsoft.com/identity/claims/scope").Value

mprabhu11 avatar Jul 05 '14 12:07 mprabhu11

We strive to make these ToDo servers interoperate to prove functionality across platforms. I'll add @skwan and @vibronet to see what the issue is here.

brandwe avatar Jul 18 '14 01:07 brandwe