Skip to content

Commit

Permalink
Merge pull request #449 from GiannhsR/patch-3
Browse files Browse the repository at this point in the history
Update 3_api_access.md
  • Loading branch information
josephdecock authored Apr 30, 2024
2 parents cac4653 + 364f4a7 commit 26d9d17
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions IdentityServer/v7/docs/content/quickstarts/3_api_access.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,13 @@ And update *src/WebClient/Pages/CallApi.cshtml* as follows:
<pre>@Model.Json</pre>
```

Also add a link to the new page in *src/WebClient/Shared/_Layout.cshtml* with the following:
```html
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-page="/CallApi">CallApi</a>
</li>
```

Make sure the *IdentityServer* and *Api* projects are running, start the
*WebClient* and request */CallApi* after authentication.

Expand Down

0 comments on commit 26d9d17

Please sign in to comment.