dotnet / dotnet/aspnetcore

Authentication Handler as an Endpoint

Open
#17,615 57 comments 0 reactions 0 assignees View on GitHub
affected-medium area-auth enhancement Needs: Design Perf severity-minor
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

Now that almost everything (Controller, RazorPage, SignalR Hub, HealthCheck, Grpc) in ASP.NET Core is becoming an Endpoint, I'm curious is there a plan to make [authentication handlers](https://github.com/aspnet/AspNetCore/blob/62351067ff4c1401556725b401478e648b66acdc/src/Security/Authentication/Core/src/AuthenticationMiddleware.cs#L45) into endpoints?

Contributor guide

Open the contributing guide

Research direction

Start with the linked AuthenticationMiddleware.cs implementation and the issue's comparison with controllers, Razor Pages, SignalR hubs, health checks, and gRPC endpoints. Clarify whether authentication handlers should expose the endpoint model and what behavior or API is expected; done requires an agreed design and scope, since the issue currently asks only whether there is a plan.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
authentication
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.