diff --git a/src/backend/app/auth/auth_routes.py b/src/backend/app/auth/auth_routes.py index d55c2b5f93..d493b2be49 100644 --- a/src/backend/app/auth/auth_routes.py +++ b/src/backend/app/auth/auth_routes.py @@ -65,6 +65,7 @@ def callback(request: Request, osm_auth=Depends(init_osm_auth)): ------- - access_token (string) """ + print("Call back api requested", request.url) access_token = osm_auth.callback(str(request.url)) log.debug(f"Access token returned: {access_token}") return JSONResponse(content={"access_token": access_token}, status_code=200) diff --git a/src/backend/app/config.py b/src/backend/app/config.py index 56daa0f82a..cd77ca082c 100644 --- a/src/backend/app/config.py +++ b/src/backend/app/config.py @@ -31,7 +31,7 @@ class Settings(BaseSettings): DEBUG: bool = False LOG_LEVEL: str = "DEBUG" - URL_SCHEME: Optional[str] = "http" + URL_SCHEME: Optional[str] = "https" FRONTEND_MAIN_URL: Optional[str] FRONTEND_MAP_URL: Optional[str]