diff --git a/aspnetcore/release-notes/aspnetcore-7.0.md b/aspnetcore/release-notes/aspnetcore-7.0.md index d81f0894ee56..7a59a816f5ff 100644 --- a/aspnetcore/release-notes/aspnetcore-7.0.md +++ b/aspnetcore/release-notes/aspnetcore-7.0.md @@ -15,6 +15,10 @@ This article highlights the most significant changes in ASP.NET Core 7.0 with li The `Microsoft.AspNetCore.RateLimiting` middleware provides rate limiting middleware. Apps configure rate limiting policies and then attach the policies to endpoints. For more information, see . +## Authentication uses single scheme as DefaultScheme + +As part of the work to simplify authentication, when there's only a single authentication scheme registered, it's automatically used as the and doesn't need to be specified. For more information, see [DefaultScheme](xref:security/authentication/index#defaultscheme). + ## MVC and Razor pages ### Support for nullable models in MVC views and Razor Pages diff --git a/aspnetcore/security/authentication/index.md b/aspnetcore/security/authentication/index.md index b40c947fa65d..3c1f80c1cc76 100644 --- a/aspnetcore/security/authentication/index.md +++ b/aspnetcore/security/authentication/index.md @@ -59,8 +59,8 @@ When there is only a single authentication scheme registered, it becomes the def When there is only a single authentication scheme registered, the single authentication scheme: -* Is automatically used as the `DefaultScheme`. -* Eliminates the need to specify the `DefaultScheme` in `AddAuthentication` or . +* Is automatically used as the . +* Eliminates the need to specify the `DefaultScheme` in or . To disable automatically using the single authentication scheme as the `DefaultScheme`, call `AppContext.SetSwitch("Microsoft.AspNetCore.Authentication.SuppressAutoDefaultScheme")`.