Browse Source

Update the ASP.NET 4.x server sandbox to suppress host authentication

pull/1808/head
Kévin Chalet 2 years ago
parent
commit
86555d02e4
  1. 1
      sandbox/OpenIddict.Sandbox.AspNet.Server/Startup.cs

1
sandbox/OpenIddict.Sandbox.AspNet.Server/Startup.cs

@ -160,6 +160,7 @@ namespace OpenIddict.Sandbox.AspNet.Server
};
configuration.MapHttpAttributeRoutes();
configuration.SuppressDefaultHostAuthentication();
// Register the Autofac Web API integration and Web API middleware.
app.UseAutofacWebApi(configuration);

Loading…
Cancel
Save