We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f3f7b2 commit c77df47Copy full SHA for c77df47
test/PipelineFactory.cs
@@ -27,7 +27,7 @@ public static TestServer CreateServer(Action<IdentityServerAuthenticationOptions
27
{
28
app.UseAuthentication();
29
30
- app.Use(async (context, next) =>
+ app.Run(async (context) =>
31
32
var user = context.User;
33
@@ -40,7 +40,7 @@ public static TestServer CreateServer(Action<IdentityServerAuthenticationOptions
40
context.Response.StatusCode = 401;
41
}
42
43
- await next();
+ await Task.CompletedTask;
44
});
45
}));
46
0 commit comments