Skip to content

Commit 929f92a

Browse files
authored
Update src/content/docs/identityserver/fundamentals/hosting.md
1 parent 02b5d0e commit 929f92a

File tree

1 file changed

+2
-1
lines changed
  • src/content/docs/identityserver/fundamentals

1 file changed

+2
-1
lines changed

src/content/docs/identityserver/fundamentals/hosting.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,6 @@ app.MapDefaultControllerRoute();
8282
:::note
8383
`UseIdentityServer` includes a call to `UseAuthentication`, so it’s not necessary to have both.
8484

85-
When using `UseAuthorization`, make sure to always add it after `UseIdentityServer`/`UseAuthentication`.
85+
86+
However, IdentityServer does not include a call to `UseAuthorization`. You will need to add `UseAuthorization` (after `UseIdentityServer`/`UseAuthentication`) to include the authorization middleware into your pipeline. This will enable you to use various authorization features in your application.
8687
:::

0 commit comments

Comments
 (0)