Allow more failure details for AuthZ handlers
See original GitHub issueToday 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
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:19 (19 by maintainers)
Top Results From Across the Web
Policy-based authorization in ASP.NET Core
Learn how to create and use authorization policy handlers for enforcing authorization requirements in an ASP.NET Core app.
Read more >The authorization or connection test fails | Jira ...
Jira Mail Handlers or Service Management Mail Handlers cannot be configured using Oauth 2.0 - The authorization or connection test fails.
Read more >Authorize with a specific scheme in ASP.NET Core
This article explains how to limit identity to a specific scheme when working with multiple authentication methods.
Read more >Authorization and authentication - AWS AppSync
This section describes options for configuring security and data protection for your applications. Authorization types.
Read more >Use API Gateway Lambda authorizers
Enable an Amazon API Gateway Lambda authorizer to authenticate API requests. ... For more information, see Configure a cross-account Lambda authorizer.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
A single cast seems the better approach, less error prone and faster.
Are we sure we want
IEnumerable<T>
, allocations…