Skip to content

Commit

Permalink
Merge pull request IdentityServer#293 from aperisic/patch-2
Browse files Browse the repository at this point in the history
No claims without Authorize attribute
  • Loading branch information
leastprivilege authored Jul 9, 2016
2 parents 7ee4c1f + 9bce007 commit 7735d05
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/Clients/MVC OWIN Client/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ public ActionResult Claims()

return View();
}


[Authorize]
public async Task<ActionResult> CallApi()
{
var token = (User as ClaimsPrincipal).FindFirst("access_token").Value;
Expand Down Expand Up @@ -61,4 +62,4 @@ public void SignoutCleanup(string sid)
}
}
}
}
}

0 comments on commit 7735d05

Please sign in to comment.