From 35b857fd0d14c18bb86a1a61d4d25f80b274bf27 Mon Sep 17 00:00:00 2001 From: JSC Date: Sun, 21 Sep 2025 18:58:20 +0200 Subject: [PATCH] feat: Add GitHub as an available OAuth provider and remove database initialization logs --- app/api/v1/auth.py | 2 +- app/main.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/api/v1/auth.py b/app/api/v1/auth.py index 34eb681..5b5e29a 100644 --- a/app/api/v1/auth.py +++ b/app/api/v1/auth.py @@ -331,7 +331,7 @@ async def oauth_callback( async def get_oauth_providers() -> dict[str, list[str]]: """Get list of available OAuth providers.""" return { - "providers": ["google"], + "providers": ["google", "github"], } diff --git a/app/main.py b/app/main.py index ea2fd36..3bffc32 100644 --- a/app/main.py +++ b/app/main.py @@ -29,9 +29,6 @@ async def lifespan(_app: FastAPI) -> AsyncGenerator[None]: logger = get_logger(__name__) logger.info("Starting application") - # await init_db() - # logger.info("Database initialized") - # Start the extraction processor await extraction_processor.start() logger.info("Extraction processor started")