Skip to content

DefaultAuthenticationConfigurationProvider has new dependency on IConfiguration #44966

@ly29

Description

@ly29

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Breaking change by dependendecy injection. This change is not documented

Expected Behavior

Do not break things

Steps To Reproduce

Upgrade to dotnet 7, call working dotnet6 code with minimal dependency injection.

Exceptions (if any)

System.InvalidOperationException : Unable to resolve service for type 'Microsoft.Extensions.Configuration.IConfiguration' while attempting to activate 'Microsoft.AspNetCore.Authentication.DefaultAuthenticationConfigurationProvider'.

.NET Version

7.0.100

Anything else?

No response

Metadata

Metadata

Assignees

Labels

area-authIncludes: Authn, Authz, OAuth, OIDC, BearerbugThis issue describes a behavior which is not expected - a bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions