Then wire the new middleware in Provider/tests/Middleware/AuthTokenRequestFilter.cs
//Should be Provider\tests\TestStartup.cs
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
app.UseMiddleware<ProviderStateMiddleware>();
app.UseMiddleware<AuthTokenRequestFilter>();
_proxy.Configure(app, env);
}
Then wire the new middleware in Provider/tests/Middleware/AuthTokenRequestFilter.cs //Should be Provider\tests\TestStartup.cs