Skip to content

Commit 5748ca5

Browse files
committed
Set default challenge scheme for test authentication
1 parent daf3534 commit 5748ca5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/GeekLearning.Testavior/Environment/TestStartupConfigurationService.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ protected virtual void ConfigureAuthentication(IServiceCollection services, stri
7474
services.AddAuthentication(o =>
7575
{
7676
o.DefaultAuthenticateScheme = authenticationDefaultScheme;
77+
o.DefaultChallengeScheme = authenticationDefaultScheme;
7778
})
7879
.AddTestAuthentication(authenticationDefaultScheme, "Test Authentication Scheme", o =>
7980
{

0 commit comments

Comments
 (0)