Browse Source

fix authorization in webhooks api

pull/1289/head
ericuss 4 years ago
parent
commit
07aba24ce4
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/Services/Webhooks/Webhooks.API/Startup.cs

+ 2
- 1
src/Services/Webhooks/Webhooks.API/Startup.cs View File

@ -80,9 +80,9 @@ namespace Webhooks.API
app.UseCors("CorsPolicy");
app.UseRouting();
ConfigureAuth(app);
app.UseRouting();
app.UseEndpoints(endpoints =>
{
endpoints.MapDefaultControllerRoute();
@ -119,6 +119,7 @@ namespace Webhooks.API
*/
app.UseAuthentication();
app.UseAuthorization();
}
protected virtual void ConfigureEventBus(IApplicationBuilder app)


Loading…
Cancel
Save