diff --git a/PresentPortal.ApiService/PresentPortal.ApiService.csproj b/PresentPortal.ApiService/PresentPortal.ApiService.csproj index 6adc3b7..583b632 100644 --- a/PresentPortal.ApiService/PresentPortal.ApiService.csproj +++ b/PresentPortal.ApiService/PresentPortal.ApiService.csproj @@ -16,4 +16,8 @@ + + + + diff --git a/PresentPortal.ApiService/Program.cs b/PresentPortal.ApiService/Program.cs index cec645f..3992d70 100644 --- a/PresentPortal.ApiService/Program.cs +++ b/PresentPortal.ApiService/Program.cs @@ -18,6 +18,7 @@ builder.Services.AddAuthentication() options.Authority = "TODO"; // options. }); +builder.Services.AddAuthorization(); var app = builder.Build();