Skip to content

Added DefaultChallengeScheme to Dashboard authentication middleware#815

Merged
yang-xiaodong merged 1 commit intodotnetcore:masterfrom
mviegas:feature/dashboard-challenge-scheme
Apr 6, 2021
Merged

Added DefaultChallengeScheme to Dashboard authentication middleware#815
yang-xiaodong merged 1 commit intodotnetcore:masterfrom
mviegas:feature/dashboard-challenge-scheme

Conversation

@mviegas
Copy link
Contributor

@mviegas mviegas commented Mar 30, 2021

This PR adds a DefaultChallengeScheme property to CAP.DashboardOptions.cs that sets up the scheme to be used when the Dashboard uses authentication via Challenge using the ASP.NET middlewares. If none is setup, the default of the application will be used.

It is useful for application with multiple authentication schemes.

Updated the sample as well.

Copy link
Member

@yang-xiaodong yang-xiaodong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, Thanks

@yang-xiaodong yang-xiaodong merged commit b764930 into dotnetcore:master Apr 6, 2021
@mviegas mviegas deleted the feature/dashboard-challenge-scheme branch April 6, 2021 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants