aspnetcore-authentication-apikey icon indicating copy to clipboard operation
aspnetcore-authentication-apikey copied to clipboard

Easy to use and very light weight Microsoft style API Key Authentication Implementation for ASP.NET Core. It can be setup so that it can accept API Key in Header, Authorization Header, QueryParams or...

Results 7 aspnetcore-authentication-apikey issues
Sort by recently updated
recently updated
newest added
trafficstars

Hi, when veryfing APIKey format and value, and the value is incorrect, I throw an exception. This results into a problem, that HttpResponse has 500 status code. As this happens...

Using V6.0 we got a lot of noise LogInformation("No Api Key found in the request."); for controller that doesn't have any attributes. According to documentation we should set IgnoreAuthenticationIfAllowAnonymous and...

I'm using this package in ASP.NET Core WebAPI 6.0. Whenever my ApiKey authenticates, I end up with doubled log entries like this: ``` 2022-05-10 18:57:54.2716|DEBUG|AuthenticationScheme: ApiKey was successfully authenticated. 2022-05-10...

Hello! Thanks for the library 🙏! Would you agree that it would be proper that the method declaration (`ProvideAsync`) in the `IApiKeyProvider` interface should return nullable value since it is...

During compilation the following warning is generated: `/root/.nuget/packages/aspnetcore.authentication.apikey/8.0.1/lib/net8.0/AspNetCore.Authentication.ApiKey.dll : warning IL2104: Assembly 'AspNetCore.Authentication.ApiKey' produced trim warnings. For more information see https://aka.ms/dotnet-illink/libraries` And during runtime, when a challenge occurs, this error...

@mihirdilip when I use the `context.ValidationFailed("Message")` inside the **OnValidateKey** event, how to get the message in this custom middleware? It´s not possible to get with PolicyAuthorizationResult.FailureReasons ``` public class AuthorizationMiddleware...

Can you provide the example config with gRPC?