feat: Add GitHub as an available OAuth provider and remove database initialization logs
This commit is contained in:
@@ -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"],
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user