Skip to content

IISDefaults.AuthenticationScheme not const #3838

@janind

Description

@janind

I am trying to use more than one authentication scheme and found that IISDefaults.AuthenticationScheme is not const. Therefore it can't be used within the authorize attribute like this
[Authorize(AuthenticationSchemes = IISDefaults.AuthenticationScheme)]
Is there a reason for this or could it be changed?

Metadata

Metadata

Assignees

Labels

area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsbreaking-changeThis issue / pr will introduce a breaking change, when resolved / merged.feature-iisIncludes: IIS, ANCM

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions