From e65052d7f42c74b8db74554468089f9d7c3f5c11 Mon Sep 17 00:00:00 2001 From: ThompsonNye Date: Sun, 3 Aug 2025 12:50:14 +0200 Subject: [PATCH] Fix api startup --- PresentPortal.ApiService/PresentPortal.ApiService.csproj | 4 ++++ PresentPortal.ApiService/Program.cs | 1 + 2 files changed, 5 insertions(+) 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();