feat(api): add OAuth2Controller (Google authorize/callback), SyncController (on-demand trigger); register IHttpContextAccessor

This commit is contained in:
2026-08-17 15:06:38 +02:00
parent a9046e957b
commit 5746d36665
3 changed files with 133 additions and 0 deletions

View File

@@ -71,6 +71,9 @@ try
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
// Required by OAuth2Controller to build callback URIs
builder.Services.AddHttpContextAccessor();
// Register Serilog.UI with SQLite provider for web log viewer
builder.Services.AddSerilogUi(options =>
{