dotnet / dotnet/aspnetcore

Make it easier to discover how to enforce/require auth in an application

Open
#42,048 53 comments 4 reactions 1 assignee Assigned to @halter73 View on GitHub
area-auth
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

From https://github.com/dotnet/aspnetcore/issues/39857#issuecomment-1107473315

> > Make it easier to discover how to enforce auth: builder.Authentication.RequireAuthentication() or similar, which could just hide the call to add the AuthorizeAttribute filter.

> I like this idea. I've personally struggled with finding the right settings to "just require auth for the whole app" (FallbackPolicy et al). We'll consider this scenario.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.