Skip to content

.NET 7: Authentication will use single scheme as DefaultScheme #26682

@Rick-Anderson

Description

@Rick-Anderson

Authentication will use single scheme as DefaultScheme

Authentication concepts

There's no automatic probing of schemes. If the default scheme isn't specified, the scheme must be specified in the authorize attribute, otherwise, the following error is thrown:

When configuring authentication, it's common to specify the default authentication scheme.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.


Associated WorkItem - 33264

Metadata

Metadata

Assignees

Labels

doc-ideaseQUESTeredIdentifies that an issue has been imported into Quest.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions