diff --git a/aspnetcore/blazor/security/authentication-state.md b/aspnetcore/blazor/security/authentication-state.md index 938614da3c97..ff6e2a6d1f8f 100644 --- a/aspnetcore/blazor/security/authentication-state.md +++ b/aspnetcore/blazor/security/authentication-state.md @@ -67,6 +67,8 @@ using Microsoft.AspNetCore.Components.Authorization; builder.Services.AddAuthorization(); ``` +:::moniker-end + :::moniker range="< aspnetcore-6.0" Configure authentication and authorization services in `Startup.ConfigureServices` of `Startup.cs`.