Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
remove links to call apis from UI (since no token requested in client)
Browse files Browse the repository at this point in the history
  • Loading branch information
brockallen committed Jun 28, 2016
1 parent eeae33d commit 8794fef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/Clients/MVC OWIN Client/Views/Home/Claims.cshtml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h3>@ViewBag.Message</h3>

<div>
@*<div>
<a class="btn btn-default" href="~/Home/CallApi">Call API from MVC</a>
<button id="api" class="btn btn-default">Call API from JS</button>
</div>
Expand All @@ -23,7 +23,7 @@
xhr.setRequestHeader("Authorization", "Bearer " + access_token);
xhr.send();
}, false);
</script>
</script>*@

<dl>
@foreach (var claim in System.Security.Claims.ClaimsPrincipal.Current.Claims)
Expand Down

0 comments on commit 8794fef

Please sign in to comment.