Specify scheme
This commit is contained in:
parent
2e2dc67978
commit
4c3e0b6721
|
|
@ -52,13 +52,13 @@ namespace TestSites
|
|||
}
|
||||
else
|
||||
{
|
||||
return context.ChallengeAsync();
|
||||
return context.ChallengeAsync(IISDefaults.AuthenticationScheme);
|
||||
}
|
||||
}
|
||||
|
||||
if (context.Request.Path.Equals("/Forbidden"))
|
||||
{
|
||||
return context.ForbidAsync();
|
||||
return context.ForbidAsync(IISDefaults.AuthenticationScheme);
|
||||
}
|
||||
|
||||
if (context.Request.Path.Equals("/RestrictedNTLM"))
|
||||
|
|
|
|||
Loading…
Reference in New Issue