From 401226a14f3e5ef98b959e818d37683afd7056d9 Mon Sep 17 00:00:00 2001 From: ivar Date: Wed, 3 Dec 2025 21:55:56 +0100 Subject: Wire up authorization --- api/WhatApi/Program.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'api/WhatApi') diff --git a/api/WhatApi/Program.cs b/api/WhatApi/Program.cs index fa50661..7d9c1b4 100644 --- a/api/WhatApi/Program.cs +++ b/api/WhatApi/Program.cs @@ -91,6 +91,7 @@ app.UseCors(); app.MapStaticAssets(); app.UseMiddleware(); app.UseAuthentication(); +app.UseAuthorization(); app.MapControllers(); app.MapGet("/", () => Results.Redirect("/map")); app.Run(); -- cgit v1.3