Skip to content

Allow more failure details for AuthZ handlers #35319

Closed
@HaoK

Description

@HaoK

Today there's no way to signal anything other than which requirements have failed or an explicit Fail https://github.com/dotnet/aspnetcore/blob/main/src/Security/Authorization/Core/src/AuthorizationHandlerContext.cs#L82

This makes it hard for a handler to flow more specific error information/details to the IAuthorizationMiddlewareResultHandler

Metadata

Metadata

Assignees

Labels

api-approvedAPI was approved in API review, it can be implementedarea-authIncludes: Authn, Authz, OAuth, OIDC, Bearer

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions