public void Configuration(IAppBuilder app) { HttpConfiguration config = new HttpConfiguration(); WebApiConfig.Register(config); SwaggerConfig.Register(config); //ConfigureOAuth(app); app.UseSimpleAuthentication(new SimpleAuthenticationOptions { SharedSecret = "FOO" }); // wire up ASP.NET Web API to our Owin server pipeline. app.UseWebApi(config); }