From c9bc213b4a8614d751d876c2564d5b638f2754b3 Mon Sep 17 00:00:00 2001 From: Jangmyun Date: Fri, 20 Feb 2026 01:21:23 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[Feat]:=20WebGL=20=EC=95=B1=20=ED=98=B8?= =?UTF-8?q?=EC=8A=A4=ED=8C=85=20=EC=A3=BC=EC=86=8C=20=EC=9A=94=EC=B2=AD?= =?UTF-8?q?=EC=9D=84=20=EB=B0=B1=EC=97=94=EB=93=9C=EA=B0=80=20=ED=97=88?= =?UTF-8?q?=EC=9A=A9=ED=95=98=EB=8F=84=EB=A1=9D=20CORS=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fastapi-backend/app/main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fastapi-backend/app/main.py b/fastapi-backend/app/main.py index 1ac4c9c..3dd4be5 100644 --- a/fastapi-backend/app/main.py +++ b/fastapi-backend/app/main.py @@ -12,7 +12,9 @@ allow_origins=[ settings.FRONTEND_URL, "http://localhost:3000", - "http://127.0.0.1:3000" + "http://127.0.0.1:3000", + "http://localhost:8000", + "https://your-unity-app.com", # Placeholder for production frontend ], allow_credentials=True, allow_methods=["*"], From 01e6547ccf891206c598f96262bfaa989c8cf503 Mon Sep 17 00:00:00 2001 From: Jangmyun Date: Fri, 20 Feb 2026 01:22:04 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[Feat]:=20token=20=EC=A0=95=EB=B3=B4=20?= =?UTF-8?q?=ED=8F=AC=ED=95=A8=ED=95=98=EC=97=AC=20=ED=99=88=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=20=EB=B0=94=EB=A1=9C=20redirect?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fastapi-backend/app/routers/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastapi-backend/app/routers/auth.py b/fastapi-backend/app/routers/auth.py index 86b002d..50e70b1 100644 --- a/fastapi-backend/app/routers/auth.py +++ b/fastapi-backend/app/routers/auth.py @@ -43,7 +43,7 @@ async def auth_callback(provider: str, request: Request, db: Session = Depends(g user_data = await auth_service.get_user_info(provider, client, token) access_token = await auth_service.login(provider, user_data) - redirect_url = f"{settings.FRONTEND_URL}/auth/callback?token={access_token}" + redirect_url = f"{settings.FRONTEND_URL}?token={access_token}" return RedirectResponse(url=redirect_url) except ValueError as e: