Skip to content

WebApplication.CreateSlimBuilder() should auto-register AuthN/Z middleware when associated services are added #47507

@DamianEdwards

Description

@DamianEdwards

The WebApplication.CreateSlimBuilder(args) method should automatically register the authentication and authorization middleware if the associated authn/z services are added to the app's container, in the same way that WebApplication.CreateBuilder(args) does.

Metadata

Metadata

Assignees

Labels

area-authIncludes: Authn, Authz, OAuth, OIDC, Bearer

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions