The description of interaction of Authorize and AllowAnonymous attrbiutes could be improved. #33866
Labels
aspnet-core/svc
security/subsvc
Source - Docs.ms
Docs Customer feedback via GitHub Issue
⌚ Not Triaged
Description
There's a note:
This is not completely true, and below you provide an indirect proof:
It's worth explicitly saying, that schemes specified in
AuthenticationSchemes
property of[Authorize]
attribute will be used for authentication.Page URL
https://learn.microsoft.com/en-us/aspnet/core/security/authorization/simple?view=aspnetcore-8.0#use-the-authorize-attribute
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/security/authorization/simple.md
Document ID
cea5942d-fb01-f5bf-3b63-25873d5b79cf
Article author
@Rick-Anderson
Related Issues
The text was updated successfully, but these errors were encountered: