feat: enable problem details responses

This commit is contained in:
Stevan Freeborn
2026-02-03 11:39:22 -06:00
parent cf4b4849c7
commit b58a5118a1
+3 -2
View File
@@ -3,6 +3,7 @@ using FiscalOS.Infra.Authentication;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddValidation();
builder.Services.AddProblemDetails();
builder.Services.AddInfrastructure();
@@ -28,10 +29,10 @@ builder.Services.AddAuthorizationBuilder()
var app = builder.Build();
app.UseHttpsRedirection();
app.UseAuthentication();
app.UseAuthorization();
app.UseHttpsRedirection();
app.UseStatusCodePages();
app.MapLoginEndpoint();