From 0c9a63f4760b7ac98d9315a67833939f98b496ac Mon Sep 17 00:00:00 2001
From: heeyongKim <166043860+heeeeyong@users.noreply.github.com>
Date: Thu, 14 Aug 2025 01:25:08 +0900
Subject: [PATCH 1/4] =?UTF-8?q?fix:=20=EC=BF=A0=ED=82=A4=20=EC=9A=94?=
=?UTF-8?q?=EC=B2=AD=20=EA=B2=BD=EB=A1=9C=20=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/hooks/useOAuthToken.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hooks/useOAuthToken.ts b/src/hooks/useOAuthToken.ts
index 3cd202d0..2b58f1d1 100644
--- a/src/hooks/useOAuthToken.ts
+++ b/src/hooks/useOAuthToken.ts
@@ -18,7 +18,7 @@ export const useOAuthToken = () => {
// 서버에 토큰 발급 요청
apiClient
- .post('/oauth-success', { loginTokenKey }, { withCredentials: true })
+ .post('/api/set-cookie', { loginTokenKey }, { withCredentials: true })
.then(response => {
console.log('✅ 토큰 발급 성공:', response.data);
// URL에서 code 파라미터 제거
From 2c1e23307ef374a4fb037b55d2a6ccea09f064cc Mon Sep 17 00:00:00 2001
From: heeyongKim <166043860+heeeeyong@users.noreply.github.com>
Date: Thu, 14 Aug 2025 01:28:34 +0900
Subject: [PATCH 2/4] Merge branch 'main' of
https://github.com/THIP-TextHip/THIP-Web into feat/api-auth
From 0cda7144eed17c03799d79e5cad8400aed12a35a Mon Sep 17 00:00:00 2001
From: heeyongKim <166043860+heeeeyong@users.noreply.github.com>
Date: Thu, 14 Aug 2025 01:50:07 +0900
Subject: [PATCH 3/4] =?UTF-8?q?fix:=20=ED=9A=8C=EC=9B=90=EA=B0=80=EC=9E=85?=
=?UTF-8?q?=20=EB=9D=BC=EC=9A=B0=ED=8C=85=EA=B2=BD=EB=A1=9C=20=EC=88=98?=
=?UTF-8?q?=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/index.tsx | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index b7cba507..f34257dd 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -5,7 +5,7 @@ import {
RouterProvider,
} from 'react-router-dom';
import Login from './login/Login';
-import Signup from './signup/Signup';
+// import Signup from './signup/Signup';
import SignupGenre from './signup/SignupGenre';
import SignupNickname from './signup/SignupNickname';
import SignupDone from './signup/SignupDone';
@@ -44,10 +44,8 @@ const Router = () => {
createRoutesFromElements(
<>
} />
- }>
- } />
- } />
-
+ } />
+ } />
} />
} />
} />
From 4e8068cff288137e417ae8715d4f5683c8b3283b Mon Sep 17 00:00:00 2001
From: heeyongKim <166043860+heeeeyong@users.noreply.github.com>
Date: Thu, 14 Aug 2025 02:25:20 +0900
Subject: [PATCH 4/4] =?UTF-8?q?fix:=20=EB=B3=80=EC=88=98=EB=AA=85=20?=
=?UTF-8?q?=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/users/postSignup.ts | 2 +-
src/pages/signup/SignupGenre.tsx | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/api/users/postSignup.ts b/src/api/users/postSignup.ts
index a88a169a..51b69377 100644
--- a/src/api/users/postSignup.ts
+++ b/src/api/users/postSignup.ts
@@ -2,7 +2,7 @@ import { apiClient } from '../index';
export interface PostSignupRequest {
aliasName: string;
- nickName: string;
+ nickname: string;
}
export interface PostSignupResponse {
diff --git a/src/pages/signup/SignupGenre.tsx b/src/pages/signup/SignupGenre.tsx
index 2ac65561..8adc481b 100644
--- a/src/pages/signup/SignupGenre.tsx
+++ b/src/pages/signup/SignupGenre.tsx
@@ -66,7 +66,7 @@ const SignupGenre = () => {
// ✅ 쿠키는 브라우저가 자동으로 전송
const result = await postSignup({
aliasName: selectedAlias.subTitle,
- nickName: nickname,
+ nickname: nickname,
});
if (result.success) {
@@ -74,7 +74,7 @@ const SignupGenre = () => {
navigate('/signupdone', {
state: {
aliasName: selectedAlias.subTitle,
- nickName: nickname,
+ nickname: nickname,
},
});
} else {