diff --git a/website/src/docs/hotchocolate/v12/security/authorization.md b/website/src/docs/hotchocolate/v12/security/authorization.md index 700be9ba944..49fb962be43 100644 --- a/website/src/docs/hotchocolate/v12/security/authorization.md +++ b/website/src/docs/hotchocolate/v12/security/authorization.md @@ -362,7 +362,7 @@ public class Startup This method also accepts [roles](#roles) and [policies](#policies) as arguments, similar to the `Authorize` attribute / methods. -> Warning: Unlike the `@authorize directive` this will return status code 401 and prevent unauthorized access to all middleware included in `MapGraphQL`. This includes our GraphQL IDE Banana Cake Pop. If we do not want to block unauthorized access to Banana Cake Pop, we can split up the `MapGraphQL` middleware and for example only apply the `RequireAuthorization` to the `MapGraphQLHttp` middleware. +> Warning: Unlike the `@authorize directive` this will return status code 401 and prevent unauthorized access to all middleware included in `MapGraphQL`. This includes our GraphQL IDE Banana Cake Pop. If we do not want to block unauthorized access to Banana Cake Pop, we can split up the `MapGraphQL` middleware and for example only apply the `RequireAuthorization` to the `MapGraphQLHttp` middleware. Note however that when splitting up the middleware in this way, it is not possible to map them to the same endpoint like `MapGraphQL` does. [Learn more about available middleware](/docs/hotchocolate/v12/server/endpoints)