From d150dd28c95e8c4492dfd1a7072be1f189c4a10b Mon Sep 17 00:00:00 2001 From: mohamad Date: Sun, 1 Jun 2025 22:43:02 +0200 Subject: [PATCH] Update OAuth redirect URIs and API routing structure - Changed the Google and Apple redirect URIs in the configuration to include the API version in the path. - Reorganized the inclusion of OAuth routes in the main application to ensure they are properly prefixed and accessible. These updates aim to enhance the API structure and ensure consistency in the authentication flow. --- be/app/main.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/be/app/main.py b/be/app/main.py index 28806eb..139ff6f 100644 --- a/be/app/main.py +++ b/be/app/main.py @@ -184,14 +184,8 @@ app.include_router( tags=["users"], ) -# Include OAuth routes -# app.include_router(oauth_router, prefix="/auth", tags=["auth"]) - # Include your API router app.include_router(api_router, prefix=settings.API_PREFIX) - -# Include OAuth routes under the main API prefix -app.include_router(oauth_router, prefix=f"{settings.API_PREFIX}/auth", tags=["auth"]) # --- End Include API Routers --- # Health check endpoint